Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Need to set up multiple directory paths without hard cod
Message
From
31/01/1997 12:39:04
 
 
To
31/01/1997 09:32:35
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00018953
Message ID:
00018973
Views:
32
>>Now that I moved a large table to another network computer I cannot set another path for it without interferring with the other path. So the only way I can reach the drive is to hard code it.
>
>You should not be dependent of changing your code whenever your tables move. You may want to use a INI file or a TABLE.DBF which hold the path of all your free tables. Then, you'll be able to use your free tables like USE gcData+'CLIENT', etc.

Also you could use LOCFILE():
USE (LOCFILE(...))
Edward Pikman
Independent Consultant
Previous
Reply
Map
View

Click here to load this message in the networking platform