There is a bug with RepeatOnNewPage in RS 2000 that makes my reports look
really ugly and unprofessional.
I have a TableGroup with a Header and Footer.
Group is set to PageBreakAtEnd.
Header is set to RepeatOnEveryPage.
Footer has nothing special.
I'm rendering as PDF and have installed all service packs and hotfixes.
Everything works fine except when the detail section completely fills the
last page of the group, pushing the Footer off to its own page. In this
case, the header does not repeat.
For example: if 2 rows of details can fit on a page, the report will come
out looking like:
Header1
details
details
-- page break --
Header1
details
Footer1
-- page break --
Header2
details
details
-- page break --
Header2
details
details
-- page break --
Footer2 -- :(
-- page break --
Header3
details
Footer3
One possible workaround would be to move the Footer into the details section
and use Visibility to only show it when on the the last record of the group,
but this seems pretty sloppy.
Anyone have a better solution? MSFT care to respond?Another workaround is to split the group in two -- one that contains just the
Header with RepeatOnEveryPage and one that contains just the Footer with
PageBreakAtEnd and a GroupExpression of "true".
"davedave" wrote:
> There is a bug with RepeatOnNewPage in RS 2000 that makes my reports look
> really ugly and unprofessional.
> I have a TableGroup with a Header and Footer.
> Group is set to PageBreakAtEnd.
> Header is set to RepeatOnEveryPage.
> Footer has nothing special.
> I'm rendering as PDF and have installed all service packs and hotfixes.
> Everything works fine except when the detail section completely fills the
> last page of the group, pushing the Footer off to its own page. In this
> case, the header does not repeat.
> For example: if 2 rows of details can fit on a page, the report will come
> out looking like:
> Header1
> details
> details
> -- page break --
> Header1
> details
> Footer1
> -- page break --
> Header2
> details
> details
> -- page break --
> Header2
> details
> details
> -- page break --
> Footer2 -- :(
> -- page break --
> Header3
> details
> Footer3
>
> One possible workaround would be to move the Footer into the details section
> and use Visibility to only show it when on the the last record of the group,
> but this seems pretty sloppy.
> Anyone have a better solution? MSFT care to respond?
Tuesday, March 20, 2012
RepeatOnNewPage bug
Labels:
bug,
database,
header,
microsoft,
mysql,
oracle,
repeatonnewpage,
reports,
server,
sql,
tablegroup,
ugly,
unprofessional
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment