*!* m.lcOutToFile = file name to output the html rendered report *!* m.lcThisRptFrx = report form to use genhtml(m.lcOutToFile,LOCFILE(m.lcThisRptFrx),0)Unfortunately, the html output will likely not look just like the printed output as it uses report form ... to ascii to output the report and you will lose some formatting. I use both FRX2Word and Print2pdf to allow different output options for report to file which will render the report just like the printed output.