Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to check whether a connection still exists?
Message
 
To
09/01/2004 03:31:04
General information
Forum:
Visual FoxPro
Category:
Client/server
Miscellaneous
Thread ID:
00865357
Message ID:
00865417
Views:
12
Is it what you need:
if sqlexec(....)
* continue
else
* stop or check for aerror() information
endif

>If I get an ODBC error during executing sqlexec(), how can I tell whether I can execute another sqlexec() or not? I'm writing an error handling routine which will update sql server table with the error information. However, if the error is caused by connection problem, I should not execute sqlexec() to update the sql server table otherwise it will generate another error.
>
>Thank you for any help.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform