Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi
I need to set a condition: if anything is selected in the field, than 1, else 0.
There's a function GetSelectedCount(FieldName), so I may use it: if GetSelectedCount(FieldName)>0...
But is there a simpler and a more efficient way to solve my task?
Actually I don't need to count the exact number of selected values, I just need to know if anything at all has been selected in a field.
Hi,
you don't have to compare with >0.
If(GetSelectedCount(FieldName), dosomething, doanotherthing)
is sufficient, as all values other than 0 are treated as true.
regards
Marco
Hi,
you don't have to compare with >0.
If(GetSelectedCount(FieldName), dosomething, doanotherthing)
is sufficient, as all values other than 0 are treated as true.
regards
Marco
Thank you!
You're welcome
Regards
Marco