Bde.DBTables.TDatabase.Commit

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure Commit;

C++

void __fastcall Commit();

Properties

Type Visibility Source Unit Parent
procedure
function
public
Bde.DBTables.pas
Bde.DBTables.hpp
Bde.DBTables TDatabase

Description

Permanently stores updates, insertions, and deletions of data associated with the current transaction, and ends the current transactions.

Call Commit to permanently store to the database server all updates, insertions, and deletions of data associated with the current transaction and then end the transaction. The current transaction is the last transaction started by calling StartTransaction.

Note: Before calling Commit, an application may check the status of the InTransaction property. If an application calls Commit and there is no current transaction, an exception is raised.

See Also