page footer already on next record of dataset
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
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
This discussion has been closed.
Comments
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
--
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com