Skip to main content

Notifications

Announcements

No record found.

Small and medium business | Business Central, N...
Answered

Not able to get my company logo in Rdlc report

(1) ShareShare
ReportReport
Posted on by 210
I am using this in my rdlc report to render logo present in my company information. Still not able to render it. What could be the cause of it? Am I missing something here?
column(companyName; companyinfo.Name)
            {
 
            }
            column(Description; Description)
            {
            }
   

trigger OnPreReport()
    begin
        companyinfo.Reset();
        companyinfo.get() ;
        companyinfo.CalcFields(Picture);
 
    end;
           
  • Suggested answer
    Steven Renders Profile Picture
    Steven Renders 5,048 Super User 2024 Season 1 on at
    Not able to get my company logo in Rdlc report
    This is a much better way to do it:
     
    By using an integer data item you only add 1 row to the dataset. In that data item you can then add all information that you only need in 1 row of the dataset, like company info, and other vars.
     
  • Verified answer
    Ariba Mehdi Profile Picture
    Ariba Mehdi 160 on at
    Not able to get my company logo in Rdlc report
    Hi, follow the steps:

    1. I have written a very simple code here for the RDLC report.
     
      
    2. Go to Report builder and click on Image from the Insert tool. 
    3. Select the image source as "Database" and MIME type.
      
    4. Save the file. Then, import the file to the business central and run the report. 
    5. Result:


    Hope this helps!
     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Congratulations 2024 Spotlight Honorees!

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December!

Congratulations to our December super stars! 🥳

Get Started Blogging in the Community

Hosted or syndicated blogging is available! ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,661 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,379 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans