Try
REPORT FORM myreport TO FILE (lcFileName) NOCONSOLE
>Hi,
>
>I am having a problem sending a report to a file using the Report Form command.
>
>I have generated a varaible that contains the path and filename and then used the Report Form command to send the report to this variable. The program returned an error "File does not exist".
>
>I then tried to create the file by using the COPY MEMO command just to create it. Using the report form command returned the same error.
>
>Does anyone out there know how to send a report to a file.
>
>thanks,
>
>Jason Lawrie
--sb--