Home Search

DriveWorks Pro 22
IfEmpty

Send Feedback

IfEmpty

Checks to see if its first argument is an empty value. If the value isn't an empty value it is returned as-is, otherwise a secondary value is returned.

Syntax

IfEmpty([Primary Value], [Alternative Value])

Where:

Primary Value is the value that should be tested.

Alternative Value is the value which will be returned if the first value is empty.

Examples

RuleMeaning
IfEmpty(ColorReturn,"Red")Will return "Red" when the value coming from the control Color is empty.