- The article discusses the possibility of conditional page breaks in Business Central when using Word Layout for reports.
- The author explains that achieving this desired result requires some "wizardry stuff" considered a hack.
- The article demonstrates adding a checkbox on a report extension to dynamically decide if text in the footer should always be displayed on a new page.
- The trick involves adding a new dataitem in the report and inserting a repeater over this dataitem in the word layout to create a dynamic page break.
- The author warns that editing the Word Layout may cause the page break feature to disappear, requiring the option for the repeater to be ticked each time.
- The article also shows how to insert a page break for certain document lines by using a combination of hacks.
- Two dataitems are used for printing out the lines, with repeaters nested inside a Line repeater to achieve the desired page break.
- The author acknowledges that Word is not a perfect tool but currently the easiest one delivered with Business Central for non-developers to make changes.
Registered users can view the full text for FREE!
Sign In Now!