Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Catch ODBC Errors
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00821787
Message ID:
00821788
Views:
16
Hi Fabian,

Did you suppress ODBC error dialog?
= SQLSETPROP(0,'DispWarnings',.F.)
>Hi,
>
>I'm working with vfp6 and Oracle817.
>I'm trying to develope an interfase monitor or smthg like that, that is always running (in a while) and checks servers for connectivity with oracle and sends and receives data from views.
>
>I don't want the app to break when I get a serious obdc error, like Ora12000's or when I lose connection to the network.
>I can not 'catch the exception' and retry the operation or do anything else... it just breaks with the odbc error.
>I've tried with ON ERROR but it does not seem to catch the error before it happens...
>
>any idea?
>TIA
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform