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 found the error. I was selecting the field through the fx button rather than using the drop-down arrow.
Thank you so much for the help.
May be you are not clearing the variables used in report as well as check dataset and rdlc report
Hello Alex
in report builder ,go to image properties
make sure that set expression field equal "=Fields!Picture.Value"
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.
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,240 Super User 2024 Season 2
Martin Dráb 230,149 Most Valuable Professional
nmaenpaa 101,156