- Declare a boolean variable(boolean printPageFooter) in the class declaration.
- In the fetch method, before looping the query make the boolean variable false and after running the complete query make the boolean variable to true.printPageFooter = false;
Monday, March 14, 2011
Display Page Footer only in the last page of the report in AX 2009
I have seen that most of the developers face the problem in displaying the Page footer only in the last page of the report. Epilog is printed just after the page footer on the last page in a report. So, this is printed in a separate page. But to print in the last page footer, the process is as follows:
printPageFooter = true;
Now override the executeMethod of the Page footer in which this section is executed only if the boolean variable is set to true.
Thats it................The problem is solved.
Posted by Giridhar Raj