Page style
Hello
(version 7.2)
I have two regions (region 1 and 7) in pagestyle in main that I want to
print ONLY on the FIRST page on the footer. But in this main I have also, a
subreport which containt a lot of subreports where I find and print
information on my database. I have put blank before these two regions to
position these regions on the footer and let information displaying before
the footer
I indicate on "Before print" on Pagestyle this query:
if Report.PageNo = 1 then
begin
PageStyle.Visible := True;
Region7.Visible := True;
Region1.Visible := True;
end
else
begin
PageStyle.Visible := False;
Region7.Visible := False;
Region1.Visible := False;
end ;
But the information in these subreports are superposed with the content of
the pagestyle. I don't want this superposition. There isn't query on
subreport (for information).
I would like to display the footer (on the first page) and the information
on the first page and the others pages if necessary).
Could you help me, please?
Best regards
--
R?gine LEBRETON
JOUVE S.I.
Immeuble Hercule II
12, rue des Landelles
35510 Cesson-Sevigne
FRANCE
Tel: +33 (0)2 99 86 98 16
Fax: +33 (0)2 99 86 98 01
eMail: rlebreton@rennes.jouve.fr
The present email and all information included therein do not constitute a
legal agreement accorded by Jouve.
All legal agreements must be formulated in writing on paper by a legal
representative of JOUVE.
If you have received this email by mistake, please inform us of that fact
and destroy the email and any documents it might contain. Thank you for your
cooperation.
(version 7.2)
I have two regions (region 1 and 7) in pagestyle in main that I want to
print ONLY on the FIRST page on the footer. But in this main I have also, a
subreport which containt a lot of subreports where I find and print
information on my database. I have put blank before these two regions to
position these regions on the footer and let information displaying before
the footer
I indicate on "Before print" on Pagestyle this query:
if Report.PageNo = 1 then
begin
PageStyle.Visible := True;
Region7.Visible := True;
Region1.Visible := True;
end
else
begin
PageStyle.Visible := False;
Region7.Visible := False;
Region1.Visible := False;
end ;
But the information in these subreports are superposed with the content of
the pagestyle. I don't want this superposition. There isn't query on
subreport (for information).
I would like to display the footer (on the first page) and the information
on the first page and the others pages if necessary).
Could you help me, please?
Best regards
--
R?gine LEBRETON
JOUVE S.I.
Immeuble Hercule II
12, rue des Landelles
35510 Cesson-Sevigne
FRANCE
Tel: +33 (0)2 99 86 98 16
Fax: +33 (0)2 99 86 98 01
eMail: rlebreton@rennes.jouve.fr
The present email and all information included therein do not constitute a
legal agreement accorded by Jouve.
All legal agreements must be formulated in writing on paper by a legal
representative of JOUVE.
If you have received this email by mistake, please inform us of that fact
and destroy the email and any documents it might contain. Thank you for your
cooperation.
This discussion has been closed.
Comments
In my testing I was able to get this working correctly. Here is the test
application that I made essentially using the code you gave below. Perhaps
try updating to ReportBuilder 7.03 before testing.
http://www.digital-metaphors.com/tips/TogglePageStyle.zip
--
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com