Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Data environment from a form retrieves data from wrong p
Message
 
À
04/05/1999 06:58:32
Wim Dieke
Tranquility Bv
Almere, Pays-Bas
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00214909
Message ID:
00214972
Vues:
14
>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.

Hi Wim.

Are you resetting the cursor paths in the dataenvironment of your forms also? This is done by setting the form so that it doesn't autoopen its tables then
* ENSURE DATABASE AND TABLES ARE POINTING TO CURRENT DIRECTORY
thisform.SetAll("Database",gcDbPath+gcDbname,"Cursor")
thisform.dataenvironment.opentables()
This only works for tables in a database.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform