Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using a different database depending upon user
Message
From
12/08/1998 10:02:10
 
 
To
11/08/1998 20:44:08
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00125834
Message ID:
00125992
Views:
17
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform