Script Steps Reference

Table Of Contents
Records script steps
F
ILEMAKER SCRIPT STEPS REFERENCE 119
Revert Record/Request
Purpose
Returns the current record or find request to the way it was before editing began.
Format
Revert Record/Request [No dialog]
Options
Perform without dialog prevents a dialog box from displaying when the script step executes that
asks the user to confirm the revert action.
Compatibility
Originated in
FileMaker Pro 6.0 or earlier
Example 1
Displays a dialog if the current record has been modified but not committed. Gives the user the
option of reverting the record.
If [Get ( RecordOpenState ) = 2]
Show Custom Dialog ["This record has been modified since it was last
entered."]
#Button 1 is Commit. Button 2 is Revert.
If [Get ( LastMessageChoice ) = 2]
Revert Record/Request [No dialog]
End If
End If
Where the script step runs Supported
FileMaker Pro Yes
FileMaker Server scheduled script Partial
FileMaker Go Yes
Custom Web Publishing Partial
FileMaker WebDirect Yes
Runtime solution Yes