TurboDB VCL Component Library

TTdbDatabase.Rollback

TTdbDatabase

Previous  Top  Next

Terminates a transaction and cancels all modifications.

Delphi syntax:

procedure Rollback;

C++ syntax:

void __fastcall Rollback(void);

Description

Use Rollback to take back all modifications in the current transaction. The procedure raises an exception if no transaction has been started using StartTransaction.