Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Closing tables with private data session.
Message
 
To
26/06/2007 15:56:17
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01235725
Message ID:
01235861
Views:
16
>>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform