Category: Get
Syntax: Get ( RecordOpenState ) |
Parameters: None
Data type returned: Number
Description:
Returns a number representing the open/committed status of the current record.
Returns 0 for a closed or committed record.
Returns 1 for a new record that hasn't been committed.
Returns 2 for a modified record that hasn't been committed.
This is particularly useful for cases where you may have a script looping through a set of records making a change of some sort. If a user is editing a record, your script could skip over the record in question and, depending on the script and its error capture state, may make no note of it.
Examples:
Returns 1 if the current record is a new record that hasn't been saved.
: 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