Calling convention: SetNullValue(Value1: Variant, Value2: Variant): Variant
Description: Returns the first value unless it is NULL; in that case it returns the fallback value.
Parameters:
Value1: preferred Variant value.
Value2: fallback used when Value1 is NULL.
Returns: Value1 when non-NULL; otherwise Value2.
Availability: Default.
Example:
DisplayValue := SetNullValue(SourceValue, 0);