Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
where to set paths to free tables
Message
De
22/06/2001 08:45:41
 
 
À
06/06/2001 17:36:27
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Divers
Thread ID:
00516068
Message ID:
00522358
Vues:
10
>Hi Paul (& all)
>
>On May-10-01 you gave me some great tips about how you map paths to data. One piece of code you sent was this:
>
>>> set_default_command = "SET PATH TO " + machine + '\software\' + current_environment + '\projects\projects1;' + machine + '\data\' + current_environment << >
>Where in an MM project would I write and execute this code so that the paths are in place when the DBC opens and loads the views?
>

Margaret,

All pathing information is handled by the framework. There are two ways get the path to your dbc, one is through the registry, and the other is through the metadbc table. Which configuration to use depends on whether you checked off "use metadata database manager" in your application object. If you are using more than one database, then you will need to use the metadata database manager.

You can set the path through the preferences form. I suggest you read the documentation on these topics.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform