Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using a different database depending upon user
Message
De
12/08/1998 10:02:10
 
 
À
11/08/1998 20:44:08
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00125834
Message ID:
00125992
Vues:
18
>O.K. this one's kinda tuff to describe but here goes..
>I have a working system to track client data. The same system is used at the same location for another county. The databases need to be completely seperate from one another. All forms and reports remain the same. What I have done is

Ill through one more sugestion out...

Maintain a seperate directory for each person with their database.

Always work on data in the 'default' directory.

For each person on the start up maching you can set the start directory to the directory where that persons data is... for example...

Joe's c:\app\data\joe
John's c:\app\data\john

This way you could also have 5 or 6 icons each with a different start up directory if you needed to go into a particular users data.

Of course, the one drawback to this is that it relies on the Shortcut properties as opposed to the login...

Of course, you could extend this... after your user logsin, change directory to the one defined for that user which would be stored in the user file..

cd (oUser.datadir)

BOb
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform