IBDAC

TIBCTransaction.OnError Event

Occurs when processing errors that are raised during executing transaction and savepoint control statements such as COMMIT, ROLLBACK, SAVEPOINT, RELEASE SAVEPOINT and others.

Class

TIBCTransaction

Syntax

property OnError: TIBCTransactionErrorEvent;

Remarks

Write the OnError event handler to process errors that occur during executing transaction and savepoint control statements such as COMMIT, ROLLBACK, SAVEPOINT, RELEASE SAVEPOINT and others. Check the E parameter to get an error code.

Note: You should explicitly add T:Devart.IbDac.Units.IBCError unit to 'uses' list to use OnError event handler.

This event occur only when two or more connections are associated with the transaction. When only one connection is assigned to the transaction, then the OnError event of the TIBCConnection class arises.

© 1997-2022 Devart. All Rights Reserved. Request Support DAC Forum Provide Feedback