void __fastcall RollbackRetaining();
Cancels all updates, insertions, and deletions for the current transaction and retains the transaction context.
Call RollbackRetaining to roll back to the database server all updates, insertions, and deletions of data associated with the current transaction and then retain the transaction context. The current transaction is the last transaction started by calling StartTransaction.
Note: Before calling RollbackRetaining, an application may check the status of the InTransaction property. If an application calls RollbackRetaining and there is no current transaction, an exception is raised.
Note: You must install InterBase 6 to use this feature.