Using PageStyle with Subreports
I wish to tile the word DRAFT across the pages of reports.
The report is structured as follows.
Main: Pipeline
Header
Detail
Child Subreport: Pipeline
Footer
PageStyle
Child Subreport: No Pipeline
ThePageStyle child report has the following properties set.
Autostop = false
PageLimit = 1
Columns = 3
DetailBand.ColumnTraversal = ctLeftToRight
Text to print is placed in the Detail Band.
The report can be previewed in the Report Designer and the text in the
PageStyle band is displayed but when the program is compiled and the
report is printed (either to the screen or printer) the text does not appear.
I am using Delphi 5 with Report Builder 7.04 and Delphi 2006 with Report
Builder 10.05 with the same results.
Can you assist me to use the PageStyle to print the text??
Thank you for your assistance.
Richard Harding
--- posted by geoForum on http://delphi.newswhat.com
The report is structured as follows.
Main: Pipeline
Header
Detail
Child Subreport: Pipeline
Footer
PageStyle
Child Subreport: No Pipeline
ThePageStyle child report has the following properties set.
Autostop = false
PageLimit = 1
Columns = 3
DetailBand.ColumnTraversal = ctLeftToRight
Text to print is placed in the Detail Band.
The report can be previewed in the Report Designer and the text in the
PageStyle band is displayed but when the program is compiled and the
report is printed (either to the screen or printer) the text does not appear.
I am using Delphi 5 with Report Builder 7.04 and Delphi 2006 with Report
Builder 10.05 with the same results.
Can you assist me to use the PageStyle to print the text??
Thank you for your assistance.
Richard Harding
--- posted by geoForum on http://delphi.newswhat.com
This discussion has been closed.
Comments
If you place a label inside the PageStyle band ouside the subreport, does
that print correctly? If so, you may need to manually add copies of the
"draft" label to the PageStyle without using a subreport.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Thanks Nico . .
Yes, it works OK without the subreport. However, the subreport does allow
the use of columns which is useful. It is intriguing that it works using
the preview in the designer but not when the report is printed and thought
I must be missing something.
I will avoid the subreport and use a background image.
Richard Harding . . .
--- posted by geoForum on http://delphi.newswhat.com