Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Database, tables and the data enviroment
Message
De
07/11/1997 13:48:03
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00058924
Message ID:
00058942
Vues:
35
>I am using VFP 3.0 for Windows.
>
>Here is a problem that I have been struggling with for a while...
>
>When I am creating a form or a report and use the data environment to access the tables needed, should I add the tables from my test environment or from my production environment?
>
>It seems that if I point to the test tables that the form wants to continue to access those tables even after I have promoted the exe into the live environment (really just a different directory on the file server).
>
>Can anyone tell me what I should be doing?

To ensure that you always point to proper database/table, you should reset DE.CursorX.Database properties in all Form.DE.BeforeOpenTables events (it can be some generic method). Also, you application should have some app object property to store database path.
Edward Pikman
Independent Consultant
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform