Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Data environment from a form retrieves data from wrong place
Message
De
04/05/1999 06:58:32
Wim Dieke
Tranquility Bv
Almere, Pays-Bas
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Data environment from a form retrieves data from wrong place
Divers
Thread ID:
00214909
Message ID:
00214909
Vues:
55
Can somebody help me with this.

When I compile the program and people change the path setting
in the .ini file, it still gets from the old path. For instance: the program is installed locally but the database is on a network path. First the program must be started for selection of where the database has its files. (this is saved after shutdown of the program in the .ini file) After changing the database path, and the restart of the program it doesn't
retrieve the data from the tables from the new path but form the path which was selected with the first startup.

This means that all form get's it's data from the wrong place. The right place is that from the .ini file of the program. This also the case when running the program with VF 5.0. I know for sure it uses the .DBC from the path of the .ini file.

I already tried changing the database property from the cursor in the data environment but that comes a messagebox that the data environment must be refreshed. Every time the form starts, it comes with the message.

Please help me!
---
Life is like a box of chocolates
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform