Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 7.1   7.2   7.3   7.4   7.5   8.0   8.1   8.2   8.3   8.4    Statistic  


Saves any changes and ends the current transaction.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
SQL 2.6 Yes Yes Yes Yes Yes

MBS( "SQL.Commit"; Connection )


Parameter Description Example value
Connection The connection reference number gained with SQL.NewConnection. $Connection


Returns "OK" or error message.


Saves any changes and ends the current transaction.
Use Commit method to write transaction changes permanently to a database. It commits the work of all commands that associated with that connection.
All changes to the database since the last commit are made permanent and cannot be undone. Before a commit, all changes made since the start of the transaction can be rolled back using SQL.Rollback method.

See also

Example Databases

Created 18th August 2014, last changed 18th August 2014

SQL.CommandType   -   SQL.Connect

Feedback: Report problem or ask question.

MBS Xojo blog