Limit rows per page

Solution to have fixed number of rows in each page.
This solution is not a perfect solution considering the line size increases due to text in each line.
But this solution gives you how to fix no of rows per page.
In the forum Heated discussion
Users are arguing for having a placeholder in same fixed place on all pages, irrespective of no of lines , increased line size due to word-wrap.
Here i am not going to discuss anything related to that.
But a simple logic of , how to fix number of rows.
Step 1: Loop through the records and display them
Step 2: Have a condition for MOD of position(), then insert a page-break on the result of Zero
Step 3. Blank row has to be filled, a condition has to be added, to find how many blank rows
ROWLIMIT - (count of row mod ROWLIMIT) will gives us the rows to be filled.
Step 4: use foreach_number function to simulate the iteration.
Refer the images below






Comments

Please explain on row filler enabled, how do i set that row filler enabled for my rtf template?
Unknown said…
the code for xdoxslt:foreach_number throws error :( . it says Error in extension function argument. I typed the same you have mentioned in the snap..

Popular posts from this blog

Repeat Table Header in all pages in BIP

Configure Concurrent Reports to be run