Monday, 7 February 2011

AX - Get rid of the white space on report footer

If you have a page footer and you don't call the super method in the executeSection. You will find the length of the footer is reserved as white space.

Rather than just not calling the super method - you might consider calling
element.disableSection(PageFooter_1)
or
element.disablePageFooter();

This way - no space is reserved for the section.

3 comments:

anup damodar said...

Thanks very much for this idea! I was really struggling with conditional invoke of Super().

This is a perfect solution! Thanks again!

Anonymous said...

Thank you ! Works on Axapta 3.0.

Anonymous said...

In Ax 3.0 wrong in calculate space for body in the last page..