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

Page Foot

edited December 2001 in General
Is there any way to print the foot of page only in the last page. If i mark
Last Page Only the foot is not printed.

--
Jes?s Angel Garc?a Zarco
Cointec

Comments

  • edited December 2001
    RB 603, D5using end user designer.

    Sorry the problem is:

    If last page is selected, the the foot is printed in all pages but not
    in the first page.
    If first page is selected, then is printed in all pages, but not in the
    last.

    If last page is selected, first page not, and the report has only one
    page, then the foot is not printed

    --
    Jes?s Angel Garc?a Zarco
    Cointec

    "Jesus Garcia Zarco(Cointec)" escribi? en el mensaje
  • edited December 2001
    These two properties are specific to reports where you don't want to print
    on the first page or don't want to print on the last page. You are seeing
    the correct behavior. What you will need to do, is set the
    Report.PassSetting to psTwopass. at the end of the first pass, you'll be
    able to read Report.AbsolutePageCount. Then, during the second pass, as it
    is previewed, or printed, you can determine:

    if Report.SecondPass then
    Footerband.Visible := (Report.AbsolutePageNo = Report.AbsolutePageCount)
    else
    FooterBand.Visible := False;


    Cheers,

    Jim Bennett
    Digital Metaphors


  • edited December 2001
    Will this work with RAP ??

    --
    Jes?s Angel Garc?a Zarco
    Cointec

  • edited December 2001
    Hello,

    i also used RAP to do this.
    But it would be great if it works without RAP.
    So a property on footer OnlyOnLast Page would be wonderfull. This could be
    handled without Reports set to Twopass.

    chris


This discussion has been closed.