Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Class for Save current environment state
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00175851
Message ID:
00175988
Views:
22
>Hi,
>
>Have anyone a function or class to Save All current environment and obviously Restore it ??
>
>Note: All means Databases opened, order, current recno, relations, free tables, datassesions, etc.
>
>If someone have something that can help me, I'll be very happy.
>
>Thanks in advance for yor time!!!!!!

CREATE VIEW viewfilename - this takes a copy of the environment. I use it (in 2.6) in a menu system before calling programs written by programmers. This gets rid of the old problems we had of programmers saying 'close all' and other bad things in their programs. As soon as the menu program gets control back, it calls SET VIEW TO viewfilename. I normally store this file on the local drive.
Nigel B Coates
NBC Software Services
Dublin, Ireland.
eMail: Nigel.Coates@NBCSoftware.com
Previous
Reply
Map
View

Click here to load this message in the networking platform