Hello all,
I am trying to add a column to a default report with a report extension. The column's source field type is datatype 'Media'.
This report is being displayed with a RDLC layout, and I am using an image report display with the expression of the field in it.
Does this field have to be called with a function, or should I be able to simply display the field through the 'Image' box in RDLC?
Thanks,
Chris
Yes you can. However be carefull, because adding it as a column to the dataset might make it repeat on every line of the dataset. This drastically slows down the performance of the report.
If you need an image only once, like for example the company logo, then it should only be available in 1 record of the dataset.
Using a report extension, imho, is then the wrong solution, or make sure you clear the image after the first line has been processed, like in report 1306.
Hi, You can refer to the Picture field in Company Infomation. But it uses the Blob type.
Here is a simple example:
Hope this helps.
Thanks.
ZHU
Have you remembered to run calcfields on the blob filed where the media in stored?
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,151 Super User 2024 Season 2
Martin Dráb 229,963 Most Valuable Professional
nmaenpaa 101,156