*-- Open the report as a table USE MyReport *-- Copy it to a temporary table lcReport = SYS(2015) + ".frx" COPY TO (m.lcReport) *-- Open the report and modify it manually USE (m.lcReport) *** Modify the EXPR field of the first record as needed *-- Close the new temporary report USE *-- Run the report REPORT FORM (m.lcReport) TO PRINTER PROMPT PREVIEW *-- Erase the temporary report ERASE (m.lcReport) ERASE (FORCEEXT(m.lcReport, 'FRT'))