local loSession, lnRetval loSession= xfrx("XFRX#INIT") lnRetVal = loSession.SetParams(,,,,,,"CNT") If lnRetVal = 0 * * we are assuming the XFCont container is * available as thisform.cntXFRX * thisform.cntXFRX.reset() loSession.setotherparams(thisform.cntXFRX) loSession.ProcessReport("test") loSession.finalize() ENDIF RELEASE loSessionThis loads the test report into the previewer, and all that works, but I lose control of the form. I have a quit button on the form with thisform.release in the click method. If I don't call the LoadReport, the form works as expected (but no report in the preview), but once the report is loaded, the Quit button doesn't do anything, and unexpectedly (since it was a model form), I have access to the Command window and doing a Clear All release the form.