Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQL Connection Test
Message
De
07/07/2003 04:54:57
Dorin Vasilescu
ALL Trans Romania
Arad, Roumanie
 
 
À
03/07/2003 11:35:51
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Divers
Thread ID:
00806567
Message ID:
00807362
Vues:
20
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform