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

how to print footer only on last page

edited October 2006 in General
hi,

I've a simple report with header, detail, summary and footer band.

i need to print the footer band ONLY on last page.

how can i do it?

tks



--- posted by geoForum on http://delphi.newswhat.com

Comments

  • edited October 2006
    Hi Ennio,

    Two options...

    1. Use the Summary band to hold the footer band information and summary
    band information. By definition, the Summary band will print on the last
    page of a report.

    2. Create a two pass report and set the FooterBand's Visible propert to
    False. Inside the OnStartPage event, set the visibility based on the page
    number...

    ppFooterBand1.Visible := (ppReport1.AbsolutePageNo =
    ppReport1.AbsolutePageCount);

    --
    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited October 2006
    >1. Use the Summary band to hold the footer band information and
    summary
    last


    in this csae:..... I need to print the footer at the end of the page. is
    possible in tis case?

    tks



    summary
    last
    to
    page



    --- posted by geoForum on http://delphi.newswhat.com
  • edited October 2006
    Yes, you can use the PrintPosition property to define where on the page you
    would like your summary band to appear. This property is defined in report
    units.

    --
    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
This discussion has been closed.