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

Keep Together question

edited March 2008 in End User
Hi,

I've got a problem of splitting detail band between two pages. Detail band
has 3 ppRegion components placed vertically. For every Region KeepTogether
and Stretch properties setup to True. Each Region has ppDBRichText
components inside. Plus there are some vertical lines which belongs to band
not to regions. My question is: how to display/print this Detail band on the
same page.

I use D7, RB 9.03

Thank in advance,
Michael

Comments

  • edited March 2008
    Hi Michael,

    ReportBuilder will try to fit as much as it can on a page before breaking to
    the next. If the KeepTogether property of a stretchable component is set to
    True when the report engine runs out of space on a page, the entire
    component will move to the next page. If you are trying to fit all three
    regions on a single page, you need to be sure they do not stretch to a size
    larger than the page size.

    --
    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited March 2008
    Hi Nico,

    Thanks. Any examples of getting/checking current Band position and
    dynamically calculated height would be very useful.

    Thanks again
    Michael

  • edited March 2008
    Hi Michael,

    You can use the Report.Engine.PrintPosRect property to get the current
    position on the page during report generation.

    The problem however with trying to calculate the height of a dynamic control
    during generation is that once you have the height, it is too late to alter
    the report (as it has already been generated). What exactly would you like
    to see happen?

    --
    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
This discussion has been closed.