Error Handling for "executing" comps

Discussion of open issues, suggestions and bugs regarding IBDAC (InterBase Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
xstef
Posts: 22
Joined: Sat 09 Sep 2006 20:44

Error Handling for "executing" comps

Post by xstef » Wed 22 Nov 2006 16:38

Hi,
would it be possible to have an OnExecuteError event for TIBCStoredProc and TIBCSql. That way we could centralize the error handling for errors generated by the DB.

Thank you in advance,

Stefanos Charalampous
TwinSoft

Alex
Posts: 655
Joined: Mon 08 Nov 2004 08:39

Post by Alex » Thu 23 Nov 2006 09:25

Try to use TIBCConnection.OnError event.
This event will be called in case of exception during database operation using this connection.

Post Reply