Page 1 of 1

Change text based on criteria

Posted: Thu Apr 16, 2009 6:06 pm
by mmurdock
I need to change some text in a text field based on criteria. I've tried something like this but it doesn't seem to do anything.

Text21.Text.Value=IIF(varisAlarm="Y", "ALARM","ALERT")

varisAlerm is set while data is being iterated through in a data group. I need to be able to change text that is in in a previous group as well as a group after the data group.

Thanks,

Mat

Change text based on criteria

Posted: Fri Apr 17, 2009 12:36 am
by Jan
Hello Mat,

Please use following expression:

Code: Select all

{varisAlarm == "Y" ? "ALARM" : "ALERT"}

Thank you.