Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Best Practice - Should the Connection Handle be stored
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 6 SP5
Divers
Thread ID:
01070716
Message ID:
01072682
Vues:
20
Hi David

>Jojo,
>
>Since you copied me I'll post back a couple of thoughts.
>...
>If your object that manages the connection uses a wrapper method for SQLExec() then you can easily check the result and if it errors check the error and if the error indicates a connection failure problem it can SQLDisconnect() on the bad connection, reestablish a new connection and retry the SQL command.

Thanks, I had put up similar basic thoughts to Jojo for the same, though I must confess I was not able to pen them is as well. Thanks for confirming my thoughts.
Regards
Bhavbhuti
___________________________________________
Softwares for Indian Businesses at:
http://venussoftop.tripod.com
___________________________________________
venussoftop@gmail.com
___________________________________________
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform