Category: Logical
Syntax: IsValid ( expression ) |
Parameters:
expressionTypically a field name, but can be any valid FileMaker Pro calculation formula.
Data type returned: Number
Description:
Returns either a 1 (true) or a 0 (False), depending on whether the field or expression returns valid data.
IsValid returns a 0 if there is a data type mismatch (for example, text in a date field) or if FileMaker cannot locate the table or field that is referenced.
Otherwise it returns 1, indicating that the data is valid.
Examples:
Function | Results |
---|---|
IsValid (myField) | Returns 1 (true) when myField is present and contains data appropriate to its defined data type. |
IsValid (Contacts::Name) | Returns 0 (False) if the current record has no related records in the Contacts table, or if the fields in the records in question all contain invalid data. |
: 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