Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL Connection Test
Message
From
07/07/2003 04:54:57
Dorin Vasilescu
ALL Trans Romania
Arad, Romania
 
 
To
03/07/2003 11:35:51
General information
Forum:
Visual FoxPro
Category:
Client/server
Miscellaneous
Thread ID:
00806567
Message ID:
00807362
Views:
19
In adition, I will sugest you to set IdleTimeout property of connection to a value greater than 0.
After the time specified is elapsed, VFP will automatically close the connection and will try to reconnect when SQLEXEC() is executed (or TABLEUPDATE() with remote views). If will not succed and table buffering is used, you can still acces inserted/modified records with GETNEXTMOFIED(), save locally and try later the update.

Dorin

>connection is made at start of application. But status of connection needs to be tested before each sqlexec(). App could be running for along time and lose connection. Then SQLexec() could fail. The idea is to test the connection before issuing SQLexex()
>
>Thank You Miles
Previous
Reply
Map
View

Click here to load this message in the networking platform