Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to use multiple DBCs
Message
De
15/11/2001 03:23:15
 
 
À
14/11/2001 19:59:11
Information générale
Forum:
Visual FoxPro
Catégorie:
CodeMine
Divers
Thread ID:
00581865
Message ID:
00581923
Vues:
18
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform