Posted 4 August 2017, 2:50 pm EST
I am trying to export the data for a report to a PDF file using the AR PDF Export filter, but am running into an error. I am using the same code to create the report as I do when I show it (and it will show fine). When I try to export it, I get the following error:
Error: ActiveReports PDF export DLL error
Page collection contains 0 pages. Export Fails. [-2147467259]
I have the AR PDF Export Filter referenced in my project. The code I am using to create the PDF is as follows:
Set obj_PDF = New ARExportPDF
lstr_PDFPath = gstr_DatafilePath & "\" & lstr_ReportTitle & ".pdf"
obj_PDF.FileName = lstr_PDFPath
Any ideas would be appreciated.
Today's problems don't worry me,
I haven't solved yesterday's yet.