PageFooter Question

edited 8:46AM in FastReport 3.0
I have this code

if <Page#> = <TotalPages#> then
PageFooter1.visible := false
else
PageFooter1.visible := true;


but the PageFooter keeps on the last page.

How could i hide the PageFooter on the last page?

Comments

  • edited 8:46AM
    You probably can't. # of pages is populated on the 2nd pass and at this point the header/footers have already been calculated.

    Wayne
  • edited 8:46AM
    Instead of

    if <Page#> = <TotalPages#> then
    PageFooter1.visible := false
    else
    PageFooter1.visible := true;

    make the components not visible

    if <Page#> = <TotalPages#> then
    begin
    MemoXX.visible := false;
    MemoXY.visible := false;
    .. etc.
    end;

    Peter
    Technisoft

Leave a Comment