Function IIF
Function IIF is similar to the conditional statement if - then – else.
Function header:
function IIF(Expr: Boolean; TrueValue, FalseValue: Variant): Variant;
Function GetFormValue
The GetFormValue function returns the value in the object in the program window. Its argument is the name of the object in the window along with the name of the window. If an object does not exist or a form is not created, the function returns an empty string.
Function header:
function GetFormValue(FormComponentName: String): Variant;