system variable
Hello
I used a system variable to indicate the page (PageSet) in a footer.
In the report there is a title, a header, a detail and a footer. The footer
starts to the second page but the number begin to the first.
I would like to the number in the footer start to count only on the second
page.
Could you help me?
Thanks
Regards
R?gine LEBRETON
I used a system variable to indicate the page (PageSet) in a footer.
In the report there is a title, a header, a detail and a footer. The footer
starts to the second page but the number begin to the first.
I would like to the number in the footer start to count only on the second
page.
Could you help me?
Thanks
Regards
R?gine LEBRETON
This discussion has been closed.
Comments
Unfortunately the SystemVariable component cannot be customized in this way.
I would suggest using a TppVariable instead and changing its value and
visibility accordingly. See the example code below...
procedure TForm1.ppFooterBand1BeforePrint(Sender: TObject);
begin
if ppReport1.AbsolutePageNo = 1 then
ppVariable2.Visible := False
else
begin
ppVariable2.Visible := True;
ppVariable2.Value := ppReport1.AbsolutePageNo - 1;
end;
end;
--
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com