Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

how to remove extra blank page in custom report

(0) ShareShare
ReportReport
Posted on by 202

hi everyone,

i want to ask about my custom report in Dynamics AX 2012 i have been making recently.

why the report display an extra page when i print the report?

Report-Page-1.PNG Report-Page-2.PNG

if i change to the print preview page, there's no extra blank page.

Report-Print-Preview-Page-1.PNG

i'm following the tutorial in this link, https://www.codeproject.com/Questions/639292/RDLC-Report-showing-one-extra-blank-page-at-end.

what i have tried :

- make the report body and margin size smaller from the report size

Property-2.PNG

- change the ConsumeContainerWhitespace property's value to True

Property-1.PNG

how can i solve this problem? i don't think this problem is related to layout setting.

i am using Visual Studio 2013 Professional

thanks for helping me, i appreciate any answer

*This post is locked for comments

  • Sohaib Cheema Profile Picture
    46,614 User Group Leader on at
    RE: how to remove extra blank page in custom report

    Thank you for testing this and making correction. I am not doing report developments everyday now, compared to early years of my carrier. Probably few times a month now. This makes me to forget things at times :)

  • Chaidir Ali Assegaf Profile Picture
    202 on at
    RE: how to remove extra blank page in custom report

    hi everyone,

    thanks for all the answer, i can fix it.

    but, i want to share how i fix it.

    like sohaib said, the equation is :

    Left Hand Margin + Body Width + Right Hand Margin <= Page Size

    and my setting is,

    1 cm + 19 cm +1 cm = 21 cm (Body with Margin)

    and the Page size i use is A4( 21 cm x 29,7 cm)

    if i follow the equation, the total width of body + margin is fine. because the operator said less than or equal, so i think it's fine as long as it's equal to the page size.

    but, it's not working. so i think it's not less than or equal. it's just less than. total body + margin can't be equal with the page width size, it's must be less than the page width size.

    and again, thanks for all the answer.

  • Verified answer
    Keshav Kumar Profile Picture
    220 on at
    RE: how to remove extra blank page in custom report

    Adjust the left hand margin,right hand margin and the width .Check it.It may fix your isuue.

  • Verified answer
    Mahmoud Hakim Profile Picture
    17,887 on at
    RE: how to remove extra blank page in custom report

    Check margin and width

  • Verified answer
    Mea_ Profile Picture
    60,278 on at
    RE: how to remove extra blank page in custom report

    In 99% of cases it is caused by a table that is too wide and it pushes right margin to the next page.  Reduce tables width and margin and it will fix the issue.

  • Verified answer
    Sohaib Cheema Profile Picture
    46,614 User Group Leader on at
    RE: how to remove extra blank page in custom report

    Very Simple, equation of your design is not correct. It must fulfil following for width of report design

     

    LeftHandSideMargin + Body Width + RighHandSideMargin <= PageSizeMaxWidthAllowed

     

    If you are not meeting above equation, you will keep getting new page.

     

     

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

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Leaderboard > Microsoft Dynamics AX (Archived)

#1
Mohamed Amine Mahmoudi Profile Picture

Mohamed Amine Mahmoudi 100 Super User 2025 Season 1

#2
Community Member Profile Picture

Community Member 48

#3
Zain Mehmood Profile Picture

Zain Mehmood 6 Moderator

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans