Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
where to set paths to free tables
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Divers
Thread ID:
00516068
Message ID:
00522254
Vues:
12
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?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform