RAD Studio VCL Reference
TADOConnection.OnCommitTransComplete Event

Occurs after committing a transaction.

property OnCommitTransComplete: TConnectErrorEvent;
__property TConnectErrorEvent OnCommitTransComplete;

Write an OnCommitTransComplete event handler to take specific action after an attempt to commit a transaction has successfully completed. The OnCommitTransComplete event fires after the corresponding operation (committing a transaction) has executed at the ADO Connection object. Calling the CommitTrans method will lead to this event occurring. 

Error is an ADO Error object. See the Microsoft Data Access SDK for more information on using ADO Error objects. The Error parameter is only set if an error occurred during execution of the operation that triggered the event. In this case, the EventStatus parameter will contain the indicating value esErrorsOccured. 

The EventStatus value (ADO EventStatusEnum) indicates the success or failure of the execution of the operation that triggered the event. 


Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!