IBDAC

TCustomDAConnection.OnError Event

This event occurs when an error has arisen in the connection.

Class

TCustomDAConnection

Syntax

property OnError: TDAConnectionErrorEvent;

Remarks

Write the OnError event handler to respond to errors that arise with connection. Check the E parameter to get the error code. Set the Fail parameter to False to prevent an error dialog from being displayed and to raise the EAbort exception to cancel current operation. The default value of Fail is True.

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