Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
PROBLEM WITH PATH
Message
 
 
To
28/06/2001 04:06:42
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00524539
Message ID:
00524623
Views:
13
You should make use of relative data paths. For example, regardless of where your application directory is, you should have an data subdirectory. Then, in your path statement, you can set path to data. From that point on, you don't need to worry about explicitly specifying the path when opening data.

Of course, you will want to make sure you have an error handler that will deal with missing data.

Alternatively, you could have an options screen for your application that specifies your data directory and use that directory in your path statement. Personally, I like the first approach.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform