Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to execute code in a separate datasession?
Message
From
29/04/2004 13:35:07
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00899362
Message ID:
00899438
Views:
15
>I am executing some code in a form that I would like to execute in another datasession, so I am sure every table that is openned by the included select sql are closed properly. Should I put that code in a class or something ?
>
>Thanks
>Eric

If you have VFP6, SP3 or later, you can create a class based on a special "Session" object. Otherwise, you can also use a form with a private datasession. (The fact that you call it a "Form" doesn't imply it has to be made visible.)
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Reply
Map
View

Click here to load this message in the networking platform