Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP 6 using the wrong container ????
Message
De
14/04/1999 14:25:14
 
 
À
14/04/1999 14:18:03
Jeff Lovin
Dewitt & Company Inc
Houston, Texas, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00208317
Message ID:
00208323
Vues:
23
>Hello,
>
>I have an application that we are moving from vfp5 to vfp6. For testing purposes, we have a development area, which has a copy of the production area tables.
>
>When I open up the "production" area manager, and use the database container for the production area, and I can go in and look at the tables and see that they are pointing and residing in the production area, but when I try and run the program from the manager, or create an executable, it always uses the development data.
>
>You all were such a wonderful help with my first problem, I wanted to see if you could help me with this..... Actually, that isn't true - I know someone out there can help me with this.... <grin>
>
>Thanks ahead of time....
>
>Jeff Lovin

It seems to be common problem: VFP DataEnvironment stores hard-coded paths to the tables/database you use in development environment. The common remedy is to reset DE.Cursor.Database properties in run-time:
***DE.BeforeOpenTables event
Thisform.SetAll("Database",cDataPathName,"Cursor") && it works if you don't have free tables in DE
Edward Pikman
Independent Consultant
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform