With a Scripted dataSet this is a way to put an element on the bottom of the last page of a report

edited May 5, 2014 in DevShare Downloads
With a Scripted dataSet this is a way to put an element on the bottom of the last page of a report.



In this report, my bottom element is 10 lines height and I can put 40 lines in a page

So if I have :
  • 30 rows, it is OK : 30 lines on the page + 10 lines for my footer
  • 40 rows, I will have a page break so I need to add 30 blank lines : 1 page with 40 lines, one page with 30 lines + footer
  • 50 rows, 1 page with 40 lines, 1 page with 10 lines, 20 blank lines + footer
  • 75 rows, 1 page with 40 lines, 1 page with 35 lines + 5 blank lines, 1 page with 35 lines + footer
  • etc..


For this, I'm using a scripted dataSet and do everything in the "open" and "fetch" event
Guillaume L.
Solution Consultant
OpenText Reporting & Analytics
http://www.opentext.com
Sign In or Register to comment.