Information générale
Catégorie:
The Mere Mortals Framework
>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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement