Method DacSession():commitTransaction() Professional

Commits a transaction.

Syntax
:commitTransaction() --> lSuccess
Return

This method returns .T. (true) when the transaction is commited successfully. Otherwise .F. (false) is returned.

Description

This method commits a pending transaction. This means that all insert, update or delete operations which are part of the transaction are permanently written to the database. Only transactions that are initiated with the method :beginTransaction()can be committed. To abort a transaction, the method :rollbackTransaction()must be executed.

Feedback

If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.