Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Generic in BeforeOpenTables in Data Environment
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows 2000 SP4
Database:
Visual FoxPro
Divers
Thread ID:
00974847
Message ID:
00975247
Vues:
29
Hi Marcia,
I want to be able to switch between data sets in my application. I have another class (oApp) that contains a property called oApp.cLocCurData. The code steps through each object in the DE. If the object is a cursor, the current database location(oApp.cLocCurData) is stuffed into the cursor's Database property.
This code was developed by Whil Hentzen and Doug Henning. It is briefly documented in the book The Fundamentls on page 435-436. I have a menu item that changes oApp.cLocCurData. I thought I could switch between test and production and test data sets, different companies, different department,
or anything else that needs this capability. A good thing to have? What are the ramifications of this functionality? Also, I have to make sure all forms are closed whan I change the data set.

Bob
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform