I develop my applications in a networked folder where I have a development database. I use this DB for the screens and reports in the DataEnvironment.
When I complile and install the EXE to a production area with its own database the application still opens the development DB instead of the production DB.
I need to know how to force the application to locate the database on the PATH set when the main .prg is run. The development path is stored in the objects to the dev DBC and as long as the path is valid it will use it.
Is there an option, command or utility to force the system to ignore and paths and search for the file on the path? I have been renaming the folder before each compile to prevent the exe from finding it but forgetting it once was enough.
Thoughts?
Jonthan A Black
When I complile and install the EXE to a production area with its own database the application still opens the development DB instead of the production DB.
I need to know how to force the application to locate the database on the PATH set when the main .prg is run. The development path is stored in the objects to the dev DBC and as long as the path is valid it will use it.
Is there an option, command or utility to force the system to ignore and paths and search for the file on the path? I have been renaming the folder before each compile to prevent the exe from finding it but forgetting it once was enough.
Thoughts?
Jonthan A Black