Commit Records/Requests: when and how to commit in FileMaker scripts
BeginnerCommit Records/Requests writes in-progress field changes to the database. Learn when FileMaker commits automatically, when you must commit explicitly, and how to use "No dialog" to suppress the commit dialog.
What you'll learn
- What it means for a record to be "in edit mode" in FileMaker
- When FileMaker commits automatically vs when you must call Commit explicitly
- How to suppress the commit dialog with the "No dialog" option
In FileMaker, a record is "in edit mode" whenever a field value has been changed but not yet saved — Commit Records/Requests explicitly writes those changes to disk and is required before switching layouts, running PSOS, or triggering downstream logic.
Stuck is a valid status
Need a second brain on this one?
If this lesson just collided with your real schema, script stack, or deadline, book consulting and turn the confusion into a concrete plan.
Commit a record after modifying it
After any Set Field step, the record is in edit mode. Call Commit Records/Requests [ No dialog ] to write the changes and exit edit mode.
Set Field [ Contacts::status ; "Active" ] Set Field [ Contacts::updatedAt ; Get ( CurrentTimestamp ) ] Commit Records/Requests [ No dialog ] Set Variable [ $error ; Value: Get ( LastError ) ] If [ $error ≠ 0 ] Exit Script [ Result: $error ] End If
Sign in to track your progress and pick up where you left off.
Sign in to FM Dojo