Merging 2 report- erro while exporting

Posted by: basukh on 4 August 2017, 2:46 pm EST

  • Posted 4 August 2017, 2:46 pm EST

    I am merging two reports with the following code
    oAddReport. is ReportA
    oReport is ReportB

    For intPages = oAddReport.pages.Count - 1 To 0 Step -1
                oReport.pages.Insert 0, oAddReport.pages.Item(intPages)
    Next intPages

    Set exportObj = New ActiveReportsPDFExport.ARExportPDF
        exportObj .ExportStream exportObj .Pages, outputVar

    Please help
    the code throws an error
    <font color="#ff0000"> ActiveReports PDF Export DLL: Internal Error. Out of memory or corrupt pages collection.</font>

  • Replied 4 August 2017, 2:46 pm EST

    Please see the following KB article on the proper way to combine pages:
Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels