Report.SaveasPDF(Filename) issue.

satish_navsatish_nav Member Posts: 65
I am calling Customized code unit function from external .net application.
In the codeunit function itself i am calling another report object and that has to be saved in .pdf format in the predefines directory.

While calling codeunit function I/O exception error is throwing. i could not find from where i am getting this i/O exception error.

can any body please help me where can i check and how can i solve this error.
Thanks in advance..

Satish...

Comments

  • satish_navsatish_nav Member Posts: 65
    i am using OK:= Report.SaveasPDF(Filename) function.

    Now i am getting return message like "The operation has timed out" and pdf file is created. But when i opened the .pdf document, i am having message like "There was an error opening this document. This file cannot be opened."

    Can you please help me please, where i wrong in my coding.
    Thanks in advance..

    Satish...
Sign In or Register to comment.