Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
User changing data directory
Message
From
12/12/2000 09:48:51
Mike Mattos
Nationwide Computers
Mississauga, Ontario, Canada
 
 
To
11/12/2000 15:23:27
General information
Forum:
Visual FoxPro
Category:
Installation, Setup and Configuration
Miscellaneous
Thread ID:
00451750
Message ID:
00452178
Views:
21
I use a table that I call something like Parameters.local, with a field in it called localdir, then run code like

USE parameters.local
If localdir() <> sys(5) + curdir()
DO setup
DO setdatapaths
ELSE
ON error do setup
DO setdatapaths
ENDIF

Thus , users can move their local files to their hearts content! And if the
main data is moved, the error causes setup to run again

This allows multi company operation too, if you want to put in some selectors!
Previous
Reply
Map
View

Click here to load this message in the networking platform