Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Data Environment
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00588820
Message ID:
00588832
Vues:
19
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform