>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)