>I have an app I've developed on a network (Let's say drive M:). Once I create an app and push it to the workstations, they are supposed to run locally (Their drive C:) the App and DBC.
>
>When the user first logs on, the Local DBC (on C:) is opened fine. When the user opens up a form that utilizes a DBC in the Data Environment the form opens the DBC on the Development Drive (M:). At that point I have two DBC's open - The Local (C:) and the Development (M:).
>
>The only way I have found to Garuntee that the Local DBC get's opened when the form loads is to pull the items out of the Data Environment, and manualy open the Local DBC and Views in the DataEnvironment.OpenTables().
>
>Any thoughts on this?
>
>Thanks,
>
>Reed
During development, the path to your development DBC is saved with the form DE. First, you should have your development DBC in a location not accessible by anyone else especially end-users. Second you can write code to strip these paths from your forms. If you search the last year for my replies [member #12473], I have posted sample code on how to do this.
Mark McCasland
Midlothian, TX USA