Ax2009 Reports

Hi All,

How to fix lines for each page in a report?

suppose my purchase order contains 15 items in i want to print 10 lines in each page.after 10 lines my footer is next page also printed 10lines(remaning 5 lines are blank) .




If your report is based on a fetch() method, increment a counter in the code section that get lines, then if your counter is greater than 5, call element.newPage() method, if you don’t use a fetch() method, you can do the same in the executesection() of line section of your report