Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Best Practice - Should the Connection Handle be stored
Message
De
02/12/2005 21:08:13
 
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:
01074505
Vues:
24
>
>I have used the following code to open and close handle, plus I guess VFP6 does not have the .T. parameter:
>
>
... in the startup of the app object
>THIS.nConnHandle = SQLConnect("VSO3Data_FB")
>
... in the cleanup of the app object
>SQLDISCONNECT(THIS.nConnHandle)
>
>

Sorry for this late reply. I do not know if VFP6 has the required Shared parameter, I use VFP9.

I just wrote down exactly what I do in VFP9, and it works for me, I don´t know if what I do will work in VFP6, sorry.

Carlos
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform