Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Trap for ODBC errors....
Message
General information
Forum:
Visual FoxPro
Category:
Client/server
Title:
Trap for ODBC errors....
Miscellaneous
Thread ID:
00929370
Message ID:
00929370
Views:
39
We have something like this....

ON ERROR wait window ('Problem')
x = sqlConnect('myTest')

The problem is that when we get an ODBC error (connection falied, communications failure, etc) - the ON ERROR doesn't trap the error because it's not a VFP error - it's an ODBC error. Does anyone know how we can trap for this error?

Thanks!
ICQ 10556 (ya), 254117
Next
Reply
Map
View

Click here to load this message in the networking platform