Take a look at SET DEFAULT TO and SET PATH TO commands.
You can use them to specify the directories you want Visual FoxPro to search when you provide only file name (Form, table, e.t.c).
>This is basic VFP 101 but I am working on a project and from time to time I get errors about CAN'T LOCATE FILE and it points towards a VFP program directory with my screen, report, etc tacked on the end.
>
>What am I missing here... all my calls are like:
>
>DO FORM mainmenu
>
>USE myprogdata
>
>Eventually, this whole APP of course is going to be BUILT into an EXE.
>
>Help!!! I know this is simple but for the life of me I can't figure out what I am missing and I looked through other VFP apps I wrote and nothing is coming to mind.
--sb--