CommitTransactions (ODBCConnection - LotusScript)

Commits changes when transaction mode is in effect. This applies to all transactions pending through the connection, and takes no arguments.

Defined in

ODBCConnection

Syntax

status = odbcConnection .CommitTransactions

Return value

  • True indicates that the pending changes were committed successfully.
  • False indicates an error.

Usage

Result sets are not affected by the CommitTransactions method; only the back-end database is updated using the information in the transaction log. All updates since the last commit are entered into the back-end database.

Some data sources are auto-commit by default -- changes are automatically made to the database every time you update a record, rather than at specified intervals, as in transaction mode.

Errors

Not connected

Events

BeforeCommitTransactions

AfterCommitTransactions