Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi all,
I have the following screenshot:
You can see the chart behind the text object.
Using the Grid option I have sent the Chart back and bought the Text Object forward (which has a low gradient).
I would like to hide the text object when someone makes only 1 selection in the CategoryName field and show the chart instead.
So I thought my Show Condition for the Text Object would be: GetFieldSelections(CategoryName)<>1
But this does not work. The chart remains in the background and the text object does not go away.
Does anyone know how to make this technique work please?
Can you select Ctrl + Shift + S to see if this helps
Try
GetSelectedCount() instead of GetFieldSelections()
May be this:
GetSelectedCount(CategoryName) <> 1
Hi Stefan and Sunny,
I will use that!
But the text object still shows in front of the chart! Do I need to change any other configurations?
Hello John,
Under your textbox properties, go to the Layout Tab, click on Show: Conditional and insert either one of the following expressions:
Count(CategoryName) <> Count({1} CategoryName)
or
GetSelectedCount(CategoryName) = 0
Cheers,
Philippe
Are you sure there is only one text box? May be accidently added more than one text box object and did not delete the extra one. Can you check the conditional show statement on the expression tab for this one that is still showing?
Hi Sunny,
Yes I checked it there is no other text object in front of the chart.
I did send the chart back and bought the text object forward. Can that affect it?
What is the conditional expression for this object on the layout tab? Do you see this or not?
=GetSelectedCount(CategoryName) <> 1
Hi Sunny,
Yes I even did it with Hello text below:
Do you maybe have a sample app where it works? I can compare then.
What is
=GetSelectedCount( CategoryName )
returning in a text box?