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.




: FileMaker Specifications

FileMaker 8 Product Line

Specifications and Storage Limits

Field Types and Import/Export Formats

: Calculation Functions

Working with Calculations Primer

Calculation Signatures

Calculation Functions

: Custom Functions

Custom Functions Primer

Useful Custom Functions

: Script Steps

Scripting Primer

Script Step Reference

: Quick Reference

FileMaker Error Codes

FileMaker Keyboard Shortcuts

FileMaker Network Ports

FileMaker Server Command Line Reference

FileMaker XML Reference

: Other Resources

Where to Go for More Information



FileMaker 8 Functions and Scripts Desk Reference
FileMaker 8 Functions and Scripts Desk Reference
ISBN: 0789735113
EAN: 2147483647
Year: 2004
Pages: 352

Flylib.com © 2008-2020.
If you may any questions please contact us: flylib@qtcs.net