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

Keeping detail bands together

edited June 2005 in General
Hi there,

I have a report where the height of the detail band is 2 inches. When the
report is several pages long, often half detail band is printed on the
botton of one page and the other half goes to the top of the next page.

I want to print the whole detail band in the next page if it does not fit on
the current. How can I do this?

Thanks,

-Benton
Using Delphi 7 and RB 7.03

Comments

  • edited June 2005
    Hi Benton,

    Try placing a TppRegion component inside your detail band with its
    ParentHeight and ParentWidth properties set to True, then place all the
    existing components inside that region. Finally set the
    TppRegion.KeepTogether property to True and you should get the effect you
    are after.

    --
    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.