Can i use functions SAVEASPDF in Classic window?
Franklin
Member Posts: 253
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
](*,)
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
](*,)
0
Comments
-
This functionality is working only under RTC because RTC is using different method to render the reports.0
-
SAVEASPDF only works in the RTC. You'll need to use something like PDFCreator if you want to do that in the classic client.0
-
You can also use webservice and use the service tier to save the report ask pdf to a folder and then open it in classic client.
There is a blog about this.0 -
thx, i´m afraid it don´t works in classic mode...
ara3n could you show me the link?0 -
0
Categories
- All Categories
- 75 General
- 75 Announcements
- 66.7K Microsoft Dynamics NAV
- 18.8K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 610 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 253 Dynamics CRM
- 103 Dynamics GP
- 6 Dynamics SL
- 1.5K Other
- 991 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 28 Design Patterns (General & Best Practices)
- Architectural Patterns
- 9 Design Patterns
- 4 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1K General Chat
- 1.6K Website
- 77 Testing
- 1.2K Download section
- 23 How Tos section
- 249 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions


