Announcements
Is there a way to either show or hide and image on a report depending on the value of another field? I am editing the report as a .docx not .rdlc, so I am looking for a solution using AL and Word.
Thanks,J
Would mean having an If statement in AL to skip the calculation of the blob or media set field. There is no way to do this in word.
Example being on the header of sales documents the picture from the company information table is calculated:
trigger OnInitReport()
begin
CompanyInformation.Get;
CompanyInformation.CalcFields(Picture);
end;
Can you elaborate a little more? I am doing this on a report extension and OnInitReport() is not a valid trigger I'm finding.
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.
Jump in, show your community spirit, and win prizes!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
OussamaSabbouh 2,081 Super User 2026 Season 1
YUN ZHU 1,351 Super User 2026 Season 1
Grigorios Mavrogeorgis 1,168 Super User 2026 Season 1