Nick,
Use the COPY TO ... command.
COPY TO "rptresult.txt" TYPE SDF
COPY TO "rptresult.xls" TYPE XL5
HTH
Wan
>I have an sql statement that gives a result in the cursor and then my report prints out based on that cursor. Is there any way I can send the report to a textfile or excel file?
>
>Thanks
>Nick Patel