Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
where to set paths to free tables
Message
From
22/06/2001 08:45:41
 
 
To
06/06/2001 17:36:27
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00516068
Message ID:
00522358
Views:
9
>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.
Previous
Reply
Map
View

Click here to load this message in the networking platform