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

Each record in detail band appearing on seperate page

edited March 2009 in General
In my report, each record in the detail band is on a seperate page.

How can I prevent this - in other words, I only want a page break if there's
enough records to warrant it.

Thanks!

Comments

  • edited March 2009
    > In my report, each record in the detail band is on a seperate page.

    couple ideas:
    how tall is the record verses the page?
    Also, if you have groups, there is an option for starting each group on
    a new page (see the group editor).

    Ed Dressel
    Team DM
  • edited March 2009
    > couple ideas:
    The records are normally much shorter than the page itself - several
    should fit on one page. I didn't have any groups setup. I do now have
    a group setup as a temporary fix, and I have it set to keep together.
    Surely though, there's a way to do what I want without groups....
    Thanks!
  • edited March 2009
    > The records are normally much shorter than the page itself

    You should be able to very easily without a group--might you have an object
    on the page that is getting stretched? You can put frames around it to
    check.

    Ed Dressel
  • edited March 2009
    > You should be able to very easily without a group--might you have an object
    Do you mean an object in the Detail band that is stretched?
  • edited March 2009
    Hi Jason,

    By definition, the report engine will try to fit as many detail band
    iterations inside a page that it can before breaking to a new page. The
    exceptions to this rule are only when Groups, Stretchable KeepTogether
    components, or KeepTogether Subreports are used.

    1. Be sure your detail band's PrintHeight property is set to phDynamic.
    2. Make sure any stretchable components have their Stretch property set to
    True.
    3. Be sure the FooterBand is small enough to allow multiple detail bands to
    fit inside the page space.

    If you are still having an issue, I suggest taking a look at the pre-built
    tutorials located in the \Tutorials\... directory and main reports demo
    located in the \Demos\1. Reports\... directory. Nearly all of these
    examples include multiple iterations of a detail band on a single page.

    --
    Regards,

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

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited March 2009
    > By definition, the report engine will try to fit as many detail band
    My detail band has a TppRichText component set to stretch and
    KeepTogether - therefore it's impossible for me to have multiple detail
    band iterations on one page, correct?
  • edited March 2009
    > My detail band has a TppRichText component set to stretch and

    No, if there is enough room on the page to fit multiple RichText components,
    they will print. If however the first Richtext fits and the second one
    overflows to the next page, the entire second RichText component will print
    on the next page if the KeepTogether property is set to True.

    Try playing around with the KeepTogether and Stretch properties of the
    TppRichText component to see what I mean.

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