Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to use multiple DBCs
Message
From
15/11/2001 03:23:15
 
 
To
14/11/2001 19:59:11
General information
Forum:
Visual FoxPro
Category:
CodeMine
Miscellaneous
Thread ID:
00581865
Message ID:
00581923
Views:
17
Denis:

>That way each station where my app is installed could have it's own DBC with the views in it.
>
>How do I proceed to make that work with CodeMine?

That's a design decision and I'm not too sure that it really has too much to do with Codemine per-se. Codemine automatically opens its AppData.dbc but, if you wanted to open views from another .DBC, the main issue is ensuring that your application can find your .DBC and ensuring that when you want something opened from the .DBC, you either specifically reference the table/view with the .DBC name in the path seperated by the "!" (sometimes refered to as the "Bang" character) and/or you ensure that the .DBC is open and that the SET DATABASE TO command is issued to reference your .DBC as the currently "selected" database. Having the .DBC open doesn't necessarilly make it the selected database.

After that, its just a matter of ensuring that AppData is re-selected as and when Codemine needs it.
-=Gary
Previous
Reply
Map
View

Click here to load this message in the networking platform