Label Elements Support Immediate IF
In Logi Studio, Label elements can make use of an intrinsic Immediate (or sometimes called "Inline") IF function. This allows you to do conditional processing in the label's Caption attribute value.
An example of this in action is shown above, where the general syntax for the IIF function is:
=IIF(statement to evaluate, true value, false value)
When using this function in a Caption attribute remember that you must preface it with an equals ("=") sign and, in the statement to be evaluated, when comparing strings the values on both sides of the equals sign must be within double-quotes, as shown.
More information about intrinsic functions can be found in Intrinsic Functions and Operators.
Please sign in to leave a comment.