Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics NAV (Archived)

Insert images in report (dynamics NAV 5 and NAV 2013)

(0) ShareShare
ReportReport
Posted on by 155

how can I insert an image in a report of dynamics NAV 5.0 AND NAV 2013 ?

*This post is locked for comments

  • Verified answer
    Daniele Rebussi Profile Picture
    Daniele Rebussi 2,480 on at
    RE: images in report dynamics NAV

    For picture saved in a field retrieve the record, use YourRec.CALCFIELDS(YourPicField) and add the field in the dataset. Then in Visual Studio add an Image control, setting Source = Database the Value property with appropriate field.

    In case the picture it's stored outside the db you can even embed it setting Source = Embedded and, from the control properties, use "Import" function to load it.

  • khadija ben Profile Picture
    khadija ben 5 on at
    RE: images in report dynamics NAV

    Hii

    Please how can insert it in Navision 2013 !!

    thank u

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: images in report dynamics NAV

    Are you saying you want to show a picture that is NOT saved in nav?

    Their is a BLOB field in the company info table #29 Picture.

    As above to show a picture stored in a BLOB field in nav you use calcfields to show the pic.

    If you have an outside pic you can use the toolbox to add am IMAGE box.

    Under Properties->Bitmap you would put your path ie. c:\MyPic.BMP

    Another way is to import on the fly, say all your item pics are saved outside of nav.

    you can create a report using ITEM as the dataitem (note my item ics are saved using the Item number as it's name.)

    OnAfterGetRecord()

    IF EXISTS ('C:\YourPictureFolder\'+"No."+'.BMP')

    THEN

      Picture.IMPORT('C:\YourPictureFolder\'+"No."+'.BMP',FALSE);

    CALCFIELDS(Picture);

  • giorgio mantica Profile Picture
    giorgio mantica 155 on at
    RE: images in report dynamics NAV

    I look the report 205, it insert the picture that is the table 79-company information, i must insert a picture that i have in a file .bmp

    can you help me

    thank you

  • Suggested answer
    RE: images in report dynamics NAV

    The pictures are retrieved from a table field. Just take a look into standard report 205 that prints pictures in the PageLoop header:

    In the C/AL part, you will need:

    YourRec.CALCFIELDS(YourPicField)

    Then you can use this value in a picture box.

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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,494 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,307 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans