>David,
>
>Another idea. Since it is cleaner to include the report in the exe, you can make a copy of the frx/frt file into a temporary table, modify it the way you want to, and the run the new, temporary report.
>
>lcTemp = SYS(3)
>SELECT * FROM ReportName INTO TABLE (lcTemp)
>REPLACE ...
>USE
>REPORT FORM (lctemp+'.dbf')
>DELETE FILE (lcTemp+'.dbf')
>DELETE FILE (lcTemp+'.fpt')
>
Hi Alex,
You can also use:
lctemp = SYS(3) + ".FRX"
SELECT * FROM ReportName INTO TABLE (lctemp)
The resulting table will have the extensions associated with reports.
George
Ubi caritas et amor, deus ibi est