Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi Team,
I had a Set Variable action on the text box,
=if(getselectedcount(x)=1, x,'')
but that variable Is storing '-' instead of ''.
Could some one tell how to achieve this.
Thanks,
Pranathi.
I am not sure I understand your issue
Replace(if(getselectedcount(x)=1, x,''),'-',' ')
=if(getselectedcount(x)=1, x,'')
if x is not selected '' will be evaluated as null so its showing '-'
try
=if(getselectedcount(x)=1, x,' ')
there is a space ' ' between the quotes for it to show no text.
Even I keep ' ', (space), im getting, '-'
Probably means that there is sometihng wrong with your expression.
What do you get if you put this expression in your text box?
='x sel.cnt = ' & getselectedcount(x) & chr(10) &
'Result = ' & if(getselectedcount(x)=1, x, ' ')
The syntax is correct, so there must be something wrong with your logic. Can you post an sample file?
I am not sure I understand your issue
Replace(if(getselectedcount(x)=1, x,''),'-',' ')
the value that is in the variable should pass to another text box
I got it, Thanks All
Good to hear, try to post that expression and flag correct answer is your response so that fresh users can uncertain useful