IsEmpty()
Category: Logical
Syntax: IsEmpty ( expression ) |
Parameters:
expressionTypically a field name, but can be any valid FileMaker Pro calculation formula.
Data type returned: Number
Description:
Returns 1 (true) if the referenced field is empty or if the expression returns an empty string. Returns 0 (False) if the field or expression is not empty.
Remember that zero is a valid entry for a number field. If a number field contains a 0, it is not considered to be empty. If you need to test for zero or null, use GetAsBoolean().
Examples:
Function | Results |
---|---|
IsEmpty (myField) | Returns 1 if myField is empty. |
IsEmpty (Name_First & Name_Last) | Returns 1 if the result of concatenating the two fields together is an empty string. |
Категории