Page Header Missing from subreport

R

Ross

The Page header displays when the sub report is run alone (outside the main
report) but it does not display when it is opened in the main report. Why is
this? How can I get the page header to display in the main report also.

Thanks you!

Ross
 
D

Duane Hookom

You can't get a page section to display in a subreport. You can create a
first level of sorting and grouping on an expression like:
=1
View the Header for this Group. View the properties of the =1 Header and set
the Repeat Section property to Yes. Use this section as your new page
header.
 
M

Marshall Barton

Ross said:
The Page header displays when the sub report is run alone (outside the main
report) but it does not display when it is opened in the main report. Why is
this? How can I get the page header to display in the main report also.


Subreport's do not process Page header/footer sections nor
do they trigger the Page event.

A way to simulate a page header in a subreport is to create
a top level group header (View menu - Sorting and Grouping)
using a constant expression such as =1. Set the header's
RepeatSection property to Yes and away you go.
 
R

Ross

Duane,

I didn't know that!

Thank you!

Duane Hookom said:
You can't get a page section to display in a subreport. You can create a
first level of sorting and grouping on an expression like:
=1
View the Header for this Group. View the properties of the =1 Header and set
the Repeat Section property to Yes. Use this section as your new page
header.
 
R

Ross

Marshall,

I didn't know that!

Thank you!

Marshall Barton said:
Subreport's do not process Page header/footer sections nor
do they trigger the Page event.

A way to simulate a page header in a subreport is to create
a top level group header (View menu - Sorting and Grouping)
using a constant expression such as =1. Set the header's
RepeatSection property to Yes and away you go.
 
Top