Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
where to set paths to free tables
Message
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00516068
Message ID:
00522254
Views:
11
I'm not familiar with how Mere Mortals works, but I put it as close to the beginning of the main program as possible, even before any SET PROC's or SET LIBR's, in case those are different for the different environments. If you make the current_environment variable global, you can use it to turn a lot of things on and off for the different environments as well.

>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?
Previous
Reply
Map
View

Click here to load this message in the networking platform