Ax2009 Reports

Hi All,

How to fix lines for each page in a report?

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

regards,

MSDAX

Hi,

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

Regards,

Thomas