Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Generic in BeforeOpenTables in Data Environment
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows 2000 SP4
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00974847
Message ID:
00975247
Views:
28
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform