Narong,
The DataEnvironment stores the full path of the data. You will need to re-set the path when loading each table. Check out FAQ #78267 by Evan Delay which describes how to do this.
HTH
Barbara
>Hi All
>I develop application follow by sample (VFP) I set path for Data (C:\MyDir\DATA) when I build to exec. file and I run my application ..Why my application access to old data directory in Develop path ...(I change folder for My Application)
>
>Narong