Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DBC in DE opens in wrong dir.
Message
 
 
To
11/12/2000 14:56:26
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00451786
Message ID:
00451796
Views:
27
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform