Revert Record/RequestReturns the current record or request to the way it was before you began adding or changing data in the record.Perform without dialog prevents a dialog box from displaying when the script step executes that asks the user to confirm the revert action.
FileMaker Pro 6.0 or earlierShow Custom Dialog ["Commit record or revert changes?";
"Click 'Commit' to save your changes, or 'Revert' to
discard changes to this record."]
#1 = Commit, 2 = Revert
If [Get(LastMessageChoice) = 1]
Commit Records/Requests
Else
Revert Record/Request [No dialog]
End If