Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Class for Save current environment state
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00175851
Message ID:
00175988
Vues:
23
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform