Icon OnCommitError Event

property OnCommitError: TDatabaseErrorEvent

Usage

Available In: Client and Server Applications

This event is triggered whenever an error occurs during the execution of the Commit method.

Information If an event handler is not assigned to this event, then the error will be raised as an exception.

Warning For client applications, transaction commits are asynchronous and the OnCommitError event handler may not be fired until after the Commit method runs to completion.
Image