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

Footer last page only

edited September 2002 in General
I couldn't get it to work; when select PrintonLastPage only by
uncheck PrintonFirstPage, it will print footer start from second page and
more. Is there anyway to just print footer on the
last page only?
Thanks

Comments

  • edited September 2002
    Instead of using PrintOnFirstPage/PrintOnLastPage, you could just check the
    data pipeline state. Initially set the footer band to Visible := False.
    then code this in the BeforePrint of the FooterBand:

    if (ppDBPipeline1.EOF) then
    ppReport1.Footer.Visible := True
    else
    ppReport1.Footer.Visible := False;

    This will display the footer only after all of the data has been traversed -
    which should do the trick...

    Cheers,

    Tom Ollar
    Digital Metaphors Corporation

    --
    Cheers,

    Tom Ollar
    Digital Metaphors Corporation
  • edited September 2002
    I had to set the visible property for each component in the Footerband to
    false rather than the Footerband itself. When I set the FooterBand to
    Visible=false I lost the positioning that the Footerband required. In other
    words, my Footerband is Height=2", if I set the Footerband Visible=false my
    detail lines printed into this 2".

    mbd

This discussion has been closed.