Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
User changing data directory
Message
De
12/12/2000 09:48:51
Mike Mattos
Nationwide Computers
Mississauga, Ontario, Canada
 
 
À
11/12/2000 15:23:27
Information générale
Forum:
Visual FoxPro
Catégorie:
Installation et configuration
Divers
Thread ID:
00451750
Message ID:
00452178
Vues:
22
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!
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform