Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL Connection Test
Message
From
03/07/2003 11:28:08
 
 
To
03/07/2003 11:12:19
General information
Forum:
Visual FoxPro
Category:
Client/server
Miscellaneous
Thread ID:
00806567
Message ID:
00806579
Views:
15
Miles,

Use SQL connect and check its return value.

From VFP Help

SQLCONNECT( ) returns a positive non-zero numeric handle if you successfully connect to the data source. You should store this handle in a memory variable and use the variable in subsequent function calls that require a connection handle. SQLCONNECT( ) returns – 2 if the connection cannot be made.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform