loSession=XFRX("XFRX#INIT") *-- Call the xfrx routine to create the PDF lnRetVal = loSession.SetParams(lc_proofpdf,,.T.,,,,"PDF") IF lnRetval = 0 loSession.ProcessReport(lc_frmfile) loSession.finalize() ELSE DO notice WITH "PDF Creation Error. Get help." ENDIF