FoxPro doesn't store path to the free table with view definition. In order to open such view the free base table has to be on the FoxPro path. You can use SET PATH command to add directory with that table to the VFP search path.
>Hello
>
>I've created a view with the view designer on a free table: c:\exe\table.dbf
>When I open this view by choosing browse in the project manager it's working fine.
>
>When I want to use this view in my program I get a getfile() window. It looks like the base table on which this view was created can't be found.
>
>Does this have annyting to do with the 'set default to' command in my program? The default directory for my program is d:\mydir\myprogram\. How can i make my view look for the right table in the right directory? When table.dbf was located in the default directory for my program there was no problem.
>
>Thanks
--sb--