Method ProcessReport() ignores the tlPlain parameter.
KB-20220524-01
Version
XFRX 17.2
Symptoms
Output is divided into multiple pages.
Workaround
m.loSession=EVALUATE([xfrx("XFRX#INIT")]) m.lnRetval = loSession.SetParams("testhtml.html",,.T.,,,,"HTML") IF m.lnRetval=0 m.loSession.odocumentWriter.cDisplayHeader = "1" && 1 - 1st page m.loSession.odocumentWriter.cDisplayFooter = "1" && 1 - last page page m.loSession.odocumentWriter.lPlainOutputMode = .T. && Reactivate PLAIN mode m.loSession.ProcessReport("testhtml.frx",,,,, .T.) m.loSession.finalize() ENDIF