Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Error trapping in Classes
Message
From
28/08/2002 11:26:30
 
 
To
26/08/2002 14:05:23
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00693752
Message ID:
00694492
Views:
12
Hi Jim.

>I put an ON ERROR DO ODBCErrorHandler in my connection method code.

Note that SQLCONNECT() and SQLSTRINGCONNECT() do not cause an error if they fail -- they simply return a negative number. So, unless you specifically call ODBCErrorHandler, VFP won't call it for you if the connection fails.

Doug
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform