Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Closing tables with private data session.
Message
 
À
26/06/2007 15:56:17
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
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 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01235725
Message ID:
01235861
Vues:
15
>>Naomi,
>>I am running the form from within the prg but at the very beginning. No tables are open before the form is loaded. All tables are opened from menu selections in the form.
>
>Look at the code in FAQ #31943 - just instantiate that as a local object, and when it goes out of scope, it will close anything that was opened after it was created.

Dragan,
years ago back in the dark days of DOS we wrote a procedure to do just that. We still use it but it requires a local array sent to the procedure by reference and both Start and End procedure calls. I think we will be phasing it out and using your method as it sure looks easy.

Thanks,
John.
Beer is proof that God loves man, and wants him to be happy. - Benjamin Franklin
John J. Henn
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform