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
Thank you for the information.
Keep posting new things on BIP.
Thanks.
I followed the same logic for my RTF using for-each-group, $G1 and foreach_number. It works fine and output the expected result.
But when i upload it on JDE, i don't get any output. In the logs it mentions there is an error around the foreach_number loop.
Can you please help?
Thanks