Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Setting Defaults and Paths on App Startup
Message
De
08/12/2005 06:42:55
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP1
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
01076049
Message ID:
01076074
Vues:
22
>Im after some advice about my program startup. I have tables stored in 3 different locations in which users will access in my application. I have use the SET PATH command to state the locations to where these tables are. But when I try to open the table it looks at the default location and say it cant find it. Can anybody please advise me on how I should use SET DEFAULT and SET PATH in my application.
>
>When the user logs in I create a user home directory store in a profile directory. Should I be setting the SET DEFAULT to this for each user?
>
>Many thanks

Neil

You're not overwriting already stored path with new ones are you? If I've to add a path to the set path then I always store the existing and add to it. e.g.

lcPath = SET( "Path")
Set Path to &lcPath + ";" + {new path string}

HTH

Terry
- Whoever said that women are the weaker sex never tried to wrest the bedclothes off one in the middle of the night
- Worry is the interest you pay, in advance, for a loan that you may never need to take out.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform