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

page footer already on next record of dataset

edited November 2003 in General
Is this common? I was thinking it may be, since it had to know that a new
page was starting.

Basically, I want one page per record in my master dataset. I group by a
field and tell it to print on new page when group changes. I have a page
footer that I use a summary, which prints some data which I thought would be
based on the data on that page, but occassionally it will print data from
the next record. Sometimes it works and sometimes it doesn't.

I can switch to a group footer, or non data aware for the page footer, but
that seems like a lot of work. For a group footer I would have to write
special code to make it print on the bottom of the page.

Thanks for any help.

Jason Skala
Iowa Glass Depot

Comments

  • edited November 2003
    Hi Jason,

    Unfortunately, this is a limitation of the ReportBuilder design. The Report
    Engine will move to the next field in your dataset before it realizes that
    the detail band has run out of space and needs to move to the next page.
    Alternatively, using a group footer should not be that difficult. You will
    just need to set the PrintPosition of the GroupFooterBand to the bottom of
    each page. You don't even necessarily have to do this at run time either.
    Below is a link to an example of this.

    http://www.digital-metaphors.com/tips/GroupFooterOnEveryPage.zip

    --
    Best Regards,

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