SAVEASPDF Keyword

chandrurecchandrurec Member Posts: 560
Hi all,

There is one keyword called SAVEASPDF in reports.

I have given ths coding as this.

rpt.SAVEASPDF('C:\ChartofAccounts.pdf');

When i run the report, I cannot able to find the PDF file in C drive.

Whats the reason?

If anybody has already used this, Kindly send me the suggestion on how to take the output of report as PDF file through coding.

Thanks in advance.

Regards,
chandru.

Comments

  • kinekine Member Posts: 12,562
    1) This works only for RTC, not for classic client
    2) In most cases now (Windows Vista and 7) you cannot write into C:\ with standard permssions
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
Sign In or Register to comment.