web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Microsoft Dynamics NAV (Archived)

Printing inventory images

(0) ShareShare
ReportReport
Posted on by 1,647

Hello my friends, 

Here is my challenge of the day:

I want to generate a report to show/print all expenses with their respective pictures (receipts). The pictures already exist in same custom table.

I'm using the command CALCFIELDS(FieldName) to call the value of the blob under AFTERGETRECORD, but the report still printing the same picture on all transactions.

Any suggestions will be appreciated.

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Rajasekhar@MS Profile Picture
    5,569 on at
    RE: Printing inventory images

    Hi

    Check the dataset whether in code is your custom rec changing on AftergetRecord, if yes then you need to work on your RDLC, how you have used CustomRec.Picfield else

    Use CLEAR(CustomRec) on Aftergetrecord, like below.

    Clear(CustomRec);

    CustomRec.Get --> get your CustomRec

    CustomRec.calcfields(Picturefieldname);

    add customrec.Picturefieldname to dataset and check.

  • Verified answer
    Community Member Profile Picture
    on at
    RE: Printing inventory images

    Hello Alex

    in report builder ,go to image properties

    make sure that set expression field equal "=Fields!Picture.Value"

  • Verified answer
    Amol Salvi Profile Picture
    18,698 on at
    RE: Printing inventory images

    May be you are not clearing the variables used in report as well as check dataset and rdlc report

  • spyroot Profile Picture
    1,647 on at
    RE: Printing inventory images

    I found the error. I was selecting the field through the fx button rather than using the drop-down arrow.

    Pic.jpg

    Thank you so much for the help.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics NAV (Archived)

#1
Alexander Ermakov Profile Picture

Alexander Ermakov 2

#2
SC666 Profile Picture

SC666 1

#2
SC666 Profile Picture

SC666 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans