Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Best Practice - Should the Connection Handle be stored
Message
From
02/12/2005 21:08:13
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 6 SP5
Miscellaneous
Thread ID:
01070716
Message ID:
01074505
Views:
23
>
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform