Report Footer Band...
I've got myself very confused here....
I've got a report that may end up being 1 page, may end up being many pages.
All I want is the Footer band to print on the last page (which is sometimes
the first and only page).
But... if I set the PrintOnFirstPage to false, and the report is only 1
page long, the footer doesn't print.
Waz-up wit dat?
Thanks,
--
Kumar Manuel
I've got a report that may end up being 1 page, may end up being many pages.
All I want is the Footer band to print on the last page (which is sometimes
the first and only page).
But... if I set the PrintOnFirstPage to false, and the report is only 1
page long, the footer doesn't print.
Waz-up wit dat?
Thanks,
--
Kumar Manuel
This discussion has been closed.
Comments
1. Seting both PrintOnFirstPage and PrintOnLastPage to true
2. Coding this on the footer's before print:
if (ppReport1.PageCount>1) and (ppReport1.PageNo=1) then
ppFooterBand1.Visible := false
else
ppFooterBand1.Visible := true;
;-)
Thanks,
-k-
Try making your report two pass, setting PrintOnFirstPage and
PrintOnLastPage to True, and in the FooterBand's BeforePrint do something
like the following...
if ppReport1.AbsolutePageCount > 1 then
ppFooterBand1.PrintOnFirstPage := False;
--
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com