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

How do to print footer only on last page of a report????

edited February 2005 in RAP
How do you control the footer only printing on the last page of a report
or is there a technique which tells me that the last page is being processed
/ printed?

Thanks for your time and help

Edwin

Comments

  • edited February 2005
    You can use something like this in the Footer.BeforePrint event:

    begin
    Footer.Visible := Report.SecondPass and
    (Report.Page = Report.PageCount);
    end;

    note that on the last page the text may print into the footer if it goes
    that far (I don't think that there is anyway to get around this).

    Enjoy,
    Ed Dressel
    Team DM
  • edited February 2005

    Another alternative is to use a Summary band and set its PrintPosition
    property so that it aligns itself to the bottom of the page.


    --
    Nard Moseley
    Digital Metaphors Corporation
    www.digital-metaphors.com



    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
This discussion has been closed.