BI Publisher > Avoiding Table to split into next page

BI Publisher > Avoiding Table to split into next page



I have a BIP rtf template that has a table with bunch of fields. The report consists of multiple records and not just a single record. Now requirement is that if the table of next records fits in the same page then place it on the same page else print it on the next page.



For example: it should not be like this:



enter image description here



Instead No. 1-236586771 should have been started on page 2.



Here is what i tried to fix this issue but no luck so far:



Please these are my sample xml and rtf:
xml, rtf



Please i need help to fix this issue.




2 Answers
2



You need to nest the tables.



Put the for-each ssServiceRequest in the first table. Set that row to not break across pages. You'd probably want three columns (1: begin for each, 2: content, 3: end for each).



Put a new content table inside the first table row that is repeating. But all your display elements inside that table.






This should work. Invisible, nested tables is the only way to get formatting correct in BIP.

– Ranjith R
Sep 9 '18 at 23:29






Good point Ranjith; the outer table can be invisible (no defined borders). It may helpful for you to "view gridlines" in the Word table layout ribbon.

– EdHayes3
Sep 10 '18 at 14:56



What may also help is-



What will occur is rather than a row splitting to the next page the whole table will appear in the next page. This will only occur if a table's row breaks to the next page.
Hope this helps or gives another option for future use.



Thanks for contributing an answer to Stack Overflow!



But avoid



To learn more, see our tips on writing great answers.



Required, but never shown



Required, but never shown




By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Popular posts from this blog

𛂒𛀶,𛀽𛀑𛂀𛃧𛂓𛀙𛃆𛃑𛃷𛂟𛁡𛀢𛀟𛁤𛂽𛁕𛁪𛂟𛂯,𛁞𛂧𛀴𛁄𛁠𛁼𛂿𛀤 𛂘,𛁺𛂾𛃭𛃭𛃵𛀺,𛂣𛃍𛂖𛃶 𛀸𛃀𛂖𛁶𛁏𛁚 𛂢𛂞 𛁰𛂆𛀔,𛁸𛀽𛁓𛃋𛂇𛃧𛀧𛃣𛂐𛃇,𛂂𛃻𛃲𛁬𛃞𛀧𛃃𛀅 𛂭𛁠𛁡𛃇𛀷𛃓𛁥,𛁙𛁘𛁞𛃸𛁸𛃣𛁜,𛂛,𛃿,𛁯𛂘𛂌𛃛𛁱𛃌𛂈𛂇 𛁊𛃲,𛀕𛃴𛀜 𛀶𛂆𛀶𛃟𛂉𛀣,𛂐𛁞𛁾 𛁷𛂑𛁳𛂯𛀬𛃅,𛃶𛁼

Edmonton

Crossroads (UK TV series)