Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Verify connection
Message
 
 
To
30/01/2003 14:19:23
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00747320
Message ID:
00747332
Views:
16
Tom,

If you check the return value of sqlstringconnect() or sqlconnect() it should tell you if the connection is valid. You use aerror() to see why it couldn't connect.

>The connection designer has a button to verify a connection. I am trying to do this programmatically to check the status of a remote connection within my code before trying to access it. Anybody have an idea on how the connection designer does it?
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Reply
Map
View

Click here to load this message in the networking platform