Announcements
Hello Together
We are using NAV 2017 and want to print the company logo on every page on the invoice.
Now when a big invoice comes, in my example 400 pages, the invoice loads forever and at the end gives the error "Output rendering for report failed. Error: report processing error."
I calculate the image using CALCFIELDS in the OnPreReport() event.
The image is passed as a field and in the RDLC I create an Image
Image Source: Database
Use this MIME type: image/bmp
Now I removed the logo and the invoice could be created. However, an invoice without a logo is not so professional so not a permanent solution.
Do you have any tips on how to get the logo on the report without it crashing on large invoices?
Somehow it must be possible to print the logo for large reports.
Thanks for the answers :)
Hi, It sounds like your company logo has been looped too many times (for example, looping together with Sales Line?). You can refer to the standard code to add an Integer DataItem and let it loop only once, which will increase the efficiency a lot.
In addition, if the Company Logo does not change, you can directly add the Company Logo as a background image to the RDLC file.
Hope this will help.
Thanks.
ZHU
André Arnaud de Cal... 291,359 Super User 2024 Season 2
Martin Dráb 230,370 Most Valuable Professional
nmaenpaa 101,156