Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Data environment from a form retrieves data from wrong p
Message
From
11/05/1999 03:56:07
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00214909
Message ID:
00217095
Views:
20
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform