Local loListener As "PdfListener" Of "PR_Pdfx.vcx" loListener = NewObject('PdfListener', 'PR_PDFx.vcx') loListener.cCodePage="CP1252" &&CodePage loListener.cTargetFileName = "c:\MyReport.Pdf" loListener.QuietMode = .T. loListener.lCanPrint = .T. loListener.lCanEdit = .T. loListener.lCanCopy = .T. loListener.lCanAddNotes= .T. loListener.lEncryptDocument = .F. loListener.cMasterPassword = "" loListener.cUserPassword = "" loListener.lOpenViewer = .F. *To be Developed, not ready yet * loListener.MergeDocument=.MergeDocument.Value * loListener.MergeDocumentName=.MergeFileName.Value * Merging 2 reports: * 1st report, we need to set "NOPAGEEJECT", and the property "WaitfornextReport" loListener.WaitForNextReport = .T. && Tell the listener that the PDF needs to remain opened, waiting for the next report REPORT FORM Report1.frx OBJECT loListener NOPAGEEJECT * Now merging the 2nd report, tell the listener that this is the last one, allowing closing the PDF loListener.WaitForNextReport = .F. && last report, allow closing REPORT FORM Report2.frx OBJECT loListenerHope that helps !