Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Data environment from a form retrieves data from wrong p
Message
 
 
To
04/05/1999 06:58:32
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00214909
Message ID:
00214972
Views:
15
>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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform