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?
if i change to the print preview page, there's no extra blank page.
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
- change the ConsumeContainerWhitespace property's value to True
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
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 :)
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.
Adjust the left hand margin,right hand margin and the width .Check it.It may fix your isuue.
Check margin and width
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.
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.
Mohamed Amine Mahmoudi
100
Super User 2025 Season 1
Community Member
48
Zain Mehmood
6
Moderator