Reference > Script steps reference > Records script steps > Commit Records/Requests
 

Commit Records/Requests

Commits a record or find request.

See also 

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. See Defining field validation.

With dialog specifies whether to display a dialog box when the script step is performed, asking users to confirm the commit action.

Note  Setting With dialog to Off only applies when Save record changes automatically is cleared in the Layout preferences.

Override ESS locking conflicts allows clients of ODBC data sources to force-commit changes when optimistic locking otherwise prevents the commit action. ODBC data sources are also referred to as external SQL sources (ESS).

Compatibility 

 

Product 

Supported 

FileMaker Pro Advanced 

Yes 

FileMaker Go 

Yes 

FileMaker WebDirect 

Yes 

FileMaker Server 

Partial 

FileMaker Cloud 

Partial 

FileMaker Data API 

Partial 

Custom Web Publishing 

Partial 

Runtime solution 

Yes 

Originated in 

FileMaker Pro 6.0 or earlier

Description 

This script step exits the current record or find request, updating field data and making no field active.

Example 1 

Goes to the Invoice Details layout, inserts the current date into the Date field, and commits the record.

Go to Layout ["Invoice Details"]
Insert Calculated Result [Invoices::Date; Get ( CurrentDate )]
Commit Records/Requests [With dialog: Off]

Related topics 

Set Field script step

Script steps reference (alphabetical list)

Script steps reference (category list)