Get(RecordOpenState)

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 8 Functions and Scripts Desk Reference
FileMaker 8 Functions and Scripts Desk Reference
ISBN: 0789735113
EAN: 2147483647
Year: 2004
Pages: 352
Simiral book on Amazon

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