Thanks Harry
I never refer to anything by path, I set the path and expect fox to do the work. Maybe I should be using a path variable?
Sarah
>Sarah,
>Previously, I have the same problem as you. I overcame it by using relative reference whether I need to code referring to directory. My way is to use macro substitution & and system functions SYS(5) and SYS(2003). For example, to open a database mydata in the data subdiretory:
> wdir=sys(5)+sys(2003)+"\data"
> open database &wdir\mydata
>
>To solve your problem completely, search all codes containing directory and replacing them with relative directory.
>
>Hope your problem can then be solved !
>
>Regards
>
>Harry
Sarah King
pcpropertymanager.com