Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Data Environment
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00588820
Message ID:
00588832
Views:
18
This message has been marked as the solution to the initial question of the thread.
>How do I change the data environment of my form to another dbf with same structure but different location?
>T -TB

In the BeforeOpenTables method of the DE, you can add code to access the Cursor objects of the DE, check the CursorSource property to see if it is the correct cursor, and change the property to something else.

When the DE does open the cursor, it will access the cursor object to get the necesasry information. Check out Message#349239 for an example.

HTH.
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform