Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to execute code in a separate datasession?
Message
De
29/04/2004 13:35:07
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00899362
Message ID:
00899438
Vues:
14
>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)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform