Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

Moving Region to next page, if it does not have more than x pixels below

I need to move a region to the next page, if the place after this region is less than i.e. 35mm. Is there a ready to use property or an example how to move this region to next page with RAP?
Yusuf Zorlu
MicrotronX - Speditionssoftware vom Profi
https://www.microtronx.com

Comments

  • Hi Yusuf,

    There is no built-in feature for the region to define a "new page threshold" as you need.

    One option, which worked successfully in my testing, is to use a keeptogether child subreport as the container rather than a region. Then set the Subreport.StopPosition to the point on the page where it must break to a new page.

    If you must use regions, you may need to generate the report once to find out if the region enters the 35mm threshold, then perhaps toggle a page break component and print again.


    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • Hi Nico, any chance for you to add this as a feature request for adding "new page threshold" to regions and other components?
    Yusuf Zorlu
    MicrotronX - Speditionssoftware vom Profi
    https://www.microtronx.com
  • Added :). Thanks for your feedback.


    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
Sign In or Register to comment.