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


TACRDatabase.Rollback
TACRDatabase
Top 

Cancels all updates, insertions, and deletions for the current transaction and ends the transaction.

procedure Rollback;

Description
Call Rollback to cancel all updates, insertions, and deletions for the current transaction and to end the transaction. The current transaction is the last transaction started by calling StartTransaction.

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

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


© AidAim Software Accuracer: Client-server Database Single-file Database Delphi Database Embedded Databas