Home General

How to keep a summary band together or how to create a "dynamic footer"?

edited July 2011 in General

I have another very special problem with RB 12.04 Ent. and I try to explain:

I want to make a "dynamic footer". On the first pages of the report I want
to print a small footer and only on the last page there is a higher footer.
Because Footer.PrintHeight is always phStatic I tried three different
solutions but nothing really works. Maybe you have some answers for my

1. Solution: Summary band on bottom
It's easy. A small footer on every page and on last page a summary band with
AlignToBottom = true. My problem is that I don't want to have a page break
in summary band. The complete summary (with dynamic height) must be print on
the last page. Something like summary.keeptogether = true. How is this

2. Solution: Footer only on last page
Because I had no success with first solution I tried to print the footer
band only on last page. But I only fount "Print on first page" and "Print on
last page". Is there any way to print the footer only on last page?

3. Solution: Forcing a page break
Than I went back to solution 1. I tried to force a page break, when there is
not enough space for summary band, but I failed. Can you please post a small
code example how to calculate the space between the actually position and
the beginning of the footer?

A lot of questions, I know. Thank you in advance for any help.

Kind regards,
Gerd Brinkmann
invent GmbH


  • edited July 2011
    Hi Gerd,

    I would stay solution 1. If I understand correctly, if there is not
    enough room to fit the dynamic summary band on the last page of the
    report, you would simply like to move to the next page? If this is the
    case, try placing a KeepTogether subreport inside the Summary band and
    place all the information to be displayed in there.

    Best Regards,

    Nico Cizik
    Digital Metaphors
  • edited July 2011
    Hello Nico,

    I tried it with a Region, contianing all elements I want to print in the
    summary band. There are no ShiftRelativeTos and no stretch=true in the whole
    summary band. Then I set Region.KeepTogether = true and it doesn't works.
    Firts part of summary band on the second last page and the rest of the
    summary band on the last page.

    The only solution I found is to set summaryband.PrintHeight = phStatitc.
    This works but it's not so nice, because sometimes there are empty lines on

    I think there is a problem with RB and page break. Let us discuss this in
    the other post. The problem "dynamic footer" is closed.

    Thank you very much.
    Kind regards,
    Gerd Brinkmann
    invent GmbH

  • edited August 2011
    On 26-7-2011 22:10, Gerd Brinkmann wrote:
    I have the same problem. The definition of the band is 'Print on last
    page of the report'. So in my opinion parts of the summary-band should
    never be printed on 2 (or more) pages. Maybe if the summary in total is
    to big for a single page, but that never happens. Every summary-band I
    use is max 10% of the page-height.
    There should be no need for a 'KeepTogetherBand'. It's implied (see the
  • edited August 2011
    Hi Ronald,

    Definition of the TppSummaryBand from our help:

    "The summary band prints at once at the end of the report."

    ReportBuilder does not have the concept of a Keeptogether band. If you
    would like to keep a number of components together, you need to use a
    specific control such as a Subreport or Region.

    Best Regards,

    Nico Cizik
    Digital Metaphors
  • edited August 2011
    On 17-8-2011 17:46, Nico Cizik (Digital Metaphors) wrote:
    Hi Nico,

    I think I wanted to read 'Last page' where the help states 'End of the
    report'. I tried a subreport but at the end I implemented my own
    solution in Rap. It is working fine now.

    Best regards,

This discussion has been closed.