>Bryan,
>
>What is your exact directory structure, what is the default work directory and where and how exactly you set your PATH?
>
>Assuming that the default is MAIN application directory and DATA, TUT are subdirectories
>
>then
>
>* we are in MAIN directory now
>SET PATH TO DATA, TUT
>
>Data and Tut are sub directories to my main program directory (call it c:\test\). I'm issuing SET PATH TO TUT to try to switch it to the TUT directory. Do I need to use SET DEFAULT also?
Hi Bryan,
You may want to read/set your curdir() to your root folder in the Main program, the specify the other directories below it with a SET PATH statement. That way you can call what you need later on:
SET DEFAULT TO c:\test\
SET PATH TO data, tut
- Brian
VFP6 SP5, VFP8 SP1, VFP 9 SP 1 and Win XP SP 3 (unless otherwise specified)
www.wulfsden.com