Options

Can i use functions SAVEASPDF in Classic window?

FranklinFranklin Member Posts: 253
edited 2009-10-21 in NAV Three Tier
I can use this function in RTC but i can´t in classic mode... why?

My code is


CurrForm.SETSELECTIONFILTER(SalesInvHeader);
REPORT.SAVEASPDF(206, 'C:\temp\default.pdf', SalesInvHeader);
//Tofile := STRSUBSTNO('Invoice No. %1.pdf', "No.");
//PdfDownloaded := DOWNLOAD('C:\temp\default.pdf', 'Save PDF As..', 'C:\','PDF file(*.pdf)|*.pdf', Tofile );

I dont want to send the pdf so i have commented the third and fourth line. The problem is SAVEASPDF don´t save the pdf

](*,)

Comments

Sign In or Register to comment.