Supressing the ORA-01013 warning message box in nonblocking mode

Discussion of open issues, suggestions and bugs regarding ODAC (Oracle Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
Peter9**2

Supressing the ORA-01013 warning message box in nonblocking mode

Post by Peter9**2 » Tue 12 Apr 2005 11:21

I have his problem:
When I execute non-blocking SQL statement from TOraStoredProc and later try to break execution using BreakExec, I always get modal window with warning ORA-01013 (user tried to break execution). I can't get rid of it - I tried to use PL/SQL exception mechanism, try ... except Delphi block, to override TOraSession.OnError event, but I can't intercept it. I also can't find any help on this subject in the ODAC documentation.

Is there any way to supress this window ? Thank you !

Peter

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

Post by Alex » Wed 13 Apr 2005 08:31

We couldn't reproduce your problem, may be you forget to set Fail variable to False in TOraSession.OnError event handler. If not then please send us complete sample to demonstrate it and include script to create server objects to ODAC support address.

Post Reply