Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Path name problems
Message
From
27/08/2000 13:21:08
 
 
To
26/08/2000 22:50:12
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00409510
Message ID:
00409618
Views:
17
>>>Why do I have to rebuild my app. everytime I change the drive letter I keep the dbf files on. Even if I put set defualt to in my main prg file and do g:\data and put path=g:\data in the config.pfw file it still is looking for some of the data files from the directory where I built the exe file from.
>>
>>VFP stores the full pathname of the tables in your dataenvironment.
>
>This is not true. It stores the relative path.
>If your table is in a mapped network drive and your form is on your local drive, then it would store the full path.
>
>Your suggestion to set the database is still good, especially if you want to change this sort of thing on the fly.

Just to clarify:
The Properties window will show the full path because it is resolving the path from the stored relative path.
All paths stored in VFP table files (e.g, PJX, VCX, SCX) should be stored relative. Occasionally this goes awry and the full path is stored - however, I've mostly only seen this when the target path is on another drive than the table it's stored in.
Each of these files will then resolve the path for display purposes in the Properties window and Include File dialog (SCX, VCX) and Description area (PJX).
Insanity: Doing the same thing over and over and expecting different results.
Previous
Reply
Map
View

Click here to load this message in the networking platform