Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I have an alternate state 'State1', assigned to a list box entity. and my expression =GetSelectedCount((State1) * Entity) returns a '-'.
I have selected a single value there and was expecting '1'. why doesn't it work?
Thanks,
Ram
Because State1 assigned to an object, allow the object to work separately respect to the others, State1 is not a variable or a field
Thanks Alessandro. I agree to all that, but I need the count of selections of the list box that has the alternate state 'State1'.
Try like
=GetSelectedCount(State1) * Entity
The object in which you need to do getselectedcount(myField) must have the same state1 of the list box ...
GetSelectedCount() - does NOT work with alternate state. Rather try like:
Count({State1} Distinct YourField)
Thanks tresesco. I will try that.
Sent from my iPhone
it works, but if nothing is selected it gives the total count, I expect it to be zero.