Accuracer: The First And Only Cross-Platform BDE Replacement
Client-Server Single-File Embedded Database with SQL for Delphi / C++Builder / Kylix


Begins a new transaction against the database.

procedure StartTransaction;

Call StartTransaction to begin a new transaction against the database. Before calling StartTransaction, an application should check the status of the InTransaction property. If InTransaction is true, indicating that a transaction is already in progress, a subsequent call to StartTransaction without first calling Commit or Rollback to end the current transaction raises an exception.

Updates, insertions, and deletions that take place after a call to StartTransaction are held by the Accuracer until an application calls Commit to save the changes or Rollback is to cancel them.

For more information read Transactions topic in Developer's Guide.

Note:   The only isolation level in Accuracer is READ COMMITTED. It means that all changes made by the transaction cannot be visible to other users of the databas until commit will be finished. StartTransaction locks all tables opened by this TACRDatabase component in S mode, thus other users cannot write to these tables until transaction will be finished. For more information about transactions in Accuracer see corresponding topic in Developer's Guide.

© AidAim Software Accuracer: