>Hi
>
>I am using the following code in VFP6 SP5 to run a report. The reason I am doing it this way is to allow the report to sit on the local drive of each workstation and to avoid recompilation of the report every time the main project is recompiled. Otherwise I have major problems printing to a Lexmark dot matrix printer.
>
>When I start up VFP on a workstation and then run the executable I have no problems. But when I run the exe as standalone I get "file not found". Otherwise the executable runs fine.
>
>myreport="c:\global\hawb.frx"
>report FORM (myreport) TO PRINTER noconsole
>
>Any ideas?
>
>Thanks
>
Hi Colin,
I don't see how the code you posted can generate that error. Maybe you've some fields in the report that genereate the error?
--sb--