help with footer overlap
I have a very simple report...Header, Detail (with a subreport in it),
footer. I need the footer to only print on the first page. I added this
code to the footer's BeforePrint event
if ppReport1.PageNo > 1 then
ppFooterBand13.Visible := False
else ppFooterBand13.Visible := True;
When the code is there, it only prints on the first page, however, the
detail band doesn't respect it. The records from the detail band just write
right over it. When I remove the code, the detail band respects the footer,
but prints the footer on every page (which I don't want).
help!
footer. I need the footer to only print on the first page. I added this
code to the footer's BeforePrint event
if ppReport1.PageNo > 1 then
ppFooterBand13.Visible := False
else ppFooterBand13.Visible := True;
When the code is there, it only prints on the first page, however, the
detail band doesn't respect it. The records from the detail band just write
right over it. When I remove the code, the detail band respects the footer,
but prints the footer on every page (which I don't want).
help!
This discussion has been closed.
Comments
You are probably calling this event code a little too late. Try moving it
to the OnStartPage event of the report and see if that helps.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
-