loSession = xfrx("XFRX#INIT") lnRetVal = loSession.SetParams(,,,,,,"XFF") && no name = just in memory If lnRetVal = 0 * * initialize the previewer * loPreview = CREATEOBJECT("frmPreviewer") loPreview.windowtype = 1 && modal * * the finalize method returns the XFRX#DRAW object reference * loSession.ProcessReport(m.lcRepName, m.lcCondition) loPreview.cmdopen.Click(loSession.finalize()) && show the document loPreview.show(1) * ENDIFHowever when I use the following code which bypasses the XFRX previewer, the same report processes within four minutes.
loSession=xfrx("XFRX#INIT") lnRetVal = loSession.SetParams(ForceExt(m.lcRepName,[xls]),,,,,,"XLS") If lnRetVal = 0 loSession.SetOtherParams("NEXT_SHEET_NAME", m.Title1) loSession.ProcessReport(m.lcRepName, m.lcCondition) loSession.finalize() EndifAny advice would be greatly appreciated.