Foxpro will use Minimum pathing to locate tables. This means that if the data is on the same logical drive as the EXE, all Fox will store for the DE is the shortest path to acquire the data, such as :
..\DATA\MyDatabase.dbc
It doesn't care about any of the above layers of Directories. However, the problem arises if you have your test environment data on another logical drive, for example your EXE is on:
G:\MyProject\MyEXE.EXE
and your data is on:
H:\MyProject\DATA\MyTestTable.dbf
Then Fox will store in the DE:
H:\MyProject\DATA\MyTestTable.dbf
Try to keep programs/data together with the SAME directory structure and you can move freely between drives.
HTH,
-Irv.
****
>Hi Friends ,
>
>This time behaviour dataenviron is hurting me...ha ha ha
>
>when i move my project from developement pc to user's site. Dataenvironment gives me errors regarding tables path.
>
>When u add a table in a dataenvironment, it automatically stores the path for that table. But software can be installed at different location in user's pc.
>
>How to handle this issue.
>
>
>Pleas Help
>Sunny