Team!
I am automating report generation using VB. I am calling impromptu application, opening the report & trying to save the output into .pdf format.
But when I use, impRpt.saveas "saved.pdf", it is saving it into a .pdf but I cannot open it using Adobe. Adobe complains that it is not in the correct format.
I believe that I am missing something very simple. Please help!!!!
My code sample is...
set objRpt = objImp.openreport("report.imr"
objRpt.RetriveAll
objRpt.SaveAs "Saved.pdf"
objRpt.CloseReport
Thanks a ton!
I am automating report generation using VB. I am calling impromptu application, opening the report & trying to save the output into .pdf format.
But when I use, impRpt.saveas "saved.pdf", it is saving it into a .pdf but I cannot open it using Adobe. Adobe complains that it is not in the correct format.
I believe that I am missing something very simple. Please help!!!!
My code sample is...
set objRpt = objImp.openreport("report.imr"
objRpt.RetriveAll
objRpt.SaveAs "Saved.pdf"
objRpt.CloseReport
Thanks a ton!