Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Data environment from a form retrieves data from wrong p
Message
De
11/05/1999 03:56:07
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:
00217095
Vues:
18
Hi Evan,

Thanks for the info. It now works perfectly!

>>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.
---
Life is like a box of chocolates
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform