Script Steps Reference
Table Of Contents
- Contents
- About script steps
- Script steps reference (alphabetical list)
- Control script steps
- Navigation script steps
- Editing script steps
- Fields script steps
- Set Field
- Set Field By Name
- Set Next Serial Value
- Insert Text
- Insert Calculated Result
- Insert From Index
- Insert From Last Visited
- Insert Current Date
- Insert Current Time
- Insert Current User Name
- Insert Picture
- Insert QuickTime
- Insert Object (Windows)
- Insert File
- Update Link (Windows)
- Replace Field Contents
- Relookup Field Contents
- Export Field Contents
- Records script steps
- Found Sets script steps
- Windows script steps
- Files script steps
- Accounts script steps
- Spelling script steps
- Open Menu Item script steps
- Miscellaneous script steps
Records script steps
F
ILEMAKER SCRIPT STEPS REFERENCE 65
Examples
Show 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
Commit Records/Requests
Purpose
Commits a record.
Format
Commit Records/Requests [No dialog]
Options
Skip data entry validation overrides any data entry validation options set for fields and commits the
record anyway. This option only skips validation for fields set with the Only during data entry
validation option in the Options for Field dialog box; fields set to Always validate will still validate,
even if the Skip data entry validation option is selected. For more information on field validation,
see
Defining field validation.
Perform without dialog prevents a dialog box from displaying when the script step executes that
asks the user to confirm the commit action.
Compatibility
This script step is also supported in web publishing and in a FileMaker Server scheduled script.
Description
This script step exits the current record or find request, updating field data and making no field
active.