Get(RecordModificationCount)

Category: Get

Syntax: Get ( RecordModificationCount )

Parameters: None

Data type returned: Number

Description:

Returns the total number of times the current record has been modified. A record change must be committed before the modification count updates.

Committing multiple field changes at once is considered a single record modification. Each time a change is committed, the modification count increases.

Get (RecordModificationCount) can be used by custom web applications to ensure that one user's changes do not overwrite another's. At the time the record is loaded into the web browser, the record modification count can be stored. When the record is saved, the current record modification count can be checked against the stored one to see whether another user has updated the record in the meantime.

Duplicated records retain the same record modification count as the record from which they were created; the count is not reset to zero. There's no way to alter or reset the modification count.

Examples:

Function

Results

Get (RecordModificationCount)

Returns 0 if a record has never been modified.

 

Returns 17 if a record has been modified 17 times since it was originally created.



: 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