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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested Answer

How to include different background images on different pages in the layout?

(0) ShareShare
ReportReport
Posted on by

Hello,

I would like to do the following:

I have a report that has a background image stored in the layout.

If I then start the report with Run from the development environment, then the image is also printed in the background.

Now the report does not always have only one page, but often consists of 3 pages.

Now the background image on the first page should be different than on the following pages.

Is there a possibility to store different background images for different pages?

So that on page 1 I always have the image "Image page 1" as background and from page 2 I always have the image "Image from page 2"?

Thank you very much ;)

I have the same question (0)
  • Suggested answer
    MahGah Profile Picture
    15,529 on at

    Hi

    See this article but I am sure yzhums  can provide more info.

    stackoverflow.com/.../control-report-background-image-conditionally-with-multiple-reports-issue-rdlc

  • Community Member Profile Picture
    on at

    Ok, but no one has verified this answer...

    I found this post:

    social.msdn.microsoft.com/.../conditional-background-image

    But this is also not working.

  • Suggested answer
    YUN ZHU Profile Picture
    95,548 Super User 2025 Season 2 on at

    Hi, You can do this with the IIf function. Conditions can be defined according to your needs.

    The following is a simple example with Background color. (Sorry I didn't find a report with Background image.)

    =IIf(Globals.PageNumber>1,"Tomato","Olive")

    pastedimage1645669383118v1.png

    Layout:

    pastedimage1645669544057v2.png

    Hope this will help.

    Thanks.

    ZHU

  • Community Member Profile Picture
    on at

    This looks very good, unfortunately my report has neither a header nor a footer. It only consists of a body and I believe that the PageNumber function only works in the header and footer.

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…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 3,151

#2
Jainam M. Kothari Profile Picture

Jainam M. Kothari 1,443 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 1,092 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans