Add a PDF as Background Image to Report 780 in RDLC at runtime
                
                    FragenFrager                
                
                    Member Posts: 69                
            
                        
            
                    Hello,
I'm provided with the task to make the Report 780 with a PDF as notepaper/background. It can be chosen, whether the background should be printed. So, the PDF is taken from an external storage at runtime.
In ForNav, the PDF is stored in the TempBlob-Table. After that, an InStream is created from the BLOB and given to a ForNav-Function, which does all the rest.
But how can I achieve this in RDLC-Layout?
The problem is, that the PDF is not stored to the database physically, so source-type Database does not work.
When I store the PDF in the TempBlob-Table, choose Embedded as source-type and refer to the TempBlob.Blob-Field, nothing is shown.
I also experimented with the different Repeat-Types, no way.
I'm not sure, if this is a problem of the format/size or if there is simply no data transferred to the report. The BLOB is calculated, as I could find out with debugging.
Any help would be much appreciated.
With kind regards
                
                I'm provided with the task to make the Report 780 with a PDF as notepaper/background. It can be chosen, whether the background should be printed. So, the PDF is taken from an external storage at runtime.
In ForNav, the PDF is stored in the TempBlob-Table. After that, an InStream is created from the BLOB and given to a ForNav-Function, which does all the rest.
But how can I achieve this in RDLC-Layout?
The problem is, that the PDF is not stored to the database physically, so source-type Database does not work.
When I store the PDF in the TempBlob-Table, choose Embedded as source-type and refer to the TempBlob.Blob-Field, nothing is shown.
I also experimented with the different Repeat-Types, no way.
I'm not sure, if this is a problem of the format/size or if there is simply no data transferred to the report. The BLOB is calculated, as I could find out with debugging.
Any help would be much appreciated.
With kind regards
0                
            Answers
- 
            Good morning,
Not sure if I understand what you are trying to achieve.
So you want to put an external pdf file as a background for a report and you used fornav external tool for this before.
I'm not sure you can show a blob with a pdf embedded.
I would suggest to convert that pdf to a JPG and then display the blob contents as image in the background of your RDLC report perhaps?
send some examples maybe we can help.0 - 
            Hello txeriff,
I was on vacation, so I did not get your answer earlier.
Converting the pdf to a bitmap, jpeg or another image-format was also a suggestion. Unfortunately, in my case, it has to be a pdf. But, honestly, I'm a little bit disappointed that ForNav can handle a pdf as background, but RDLC can't.
However, thanks for your reply.
With kind regards0 
Categories
- All Categories
 - 73 General
 - 73 Announcements
 - 66.7K Microsoft Dynamics NAV
 - 18.7K 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
 - 617 NAV Courses, Exams & Certification
 - 2K Microsoft Dynamics-Other
 - 1.5K Dynamics AX
 - 323 Dynamics CRM
 - 111 Dynamics GP
 - 10 Dynamics SL
 - 1.5K Other
 - 990 SQL General
 - 383 SQL Performance
 - 34 SQL Tips & Tricks
 - 35 Design Patterns (General & Best Practices)
 - 1 Architectural Patterns
 - 10 Design Patterns
 - 5 Implementation Patterns
 - 53 3rd Party Products, Services & Events
 - 1.6K General
 - 1.1K General Chat
 - 1.6K Website
 - 83 Testing
 - 1.2K Download section
 - 23 How Tos section
 - 252 Feedback
 - 12 NAV TechDays 2013 Sessions
 - 13 NAV TechDays 2012 Sessions
 
