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