Perhaps I did not explain my self correctly. The problem I have is related to the fact that we all running the application on the LAN. In the application we set the default directory ( CD G:\MyApp ) . In this directory we have the DBC which is our master. All project form using the DBC point to a local drive. ( the Database property in the cursor). But when the application is running it open the DBC on the LAN.
Now what I need to test is to force the "OPEN Database" in all form when we are in development mode. This way I will be able to update the one on the LAN and then inform all developer to take a copy of it.
Will this work?
* In the Load() of the form
if Gdebug
Open Database c:\mycode\database\MyDataB.dbc
endif