Page Headers missing in subreport

C

ChuckW

Hi,

I created a subreport that has a page header which list
my field names. When I run the report by itself the
column names appear. however, when I imbed this report
as a subreport, they dissapear. Is there a way to make
these appear when they are a subreport?

Thanks,

Chuck
 
D

Duane Hookom

Subreports do not support page sections or events. You can create a new
primary sorting and grouping level on a constant expression like:
=1
Set the group header to display. Then set the Repeat Section property of the
=1 group header to Yes. This will be your new "page" header.
 
T

Ted

i'm having the identical problem of chuck's.
this workaround looks promising but it's not clear to me how the mechanics
of it would actually get implemented.

can you flesh it out some more?
 
T

Ted

hi,

disregard my question ..... a little elbow grease and it's working like a
charm.

way to go, duane!
 
D

Duane Hookom

How far did you get? Did you create a new primary sorting and grouping level
in the subreport?
 
M

MarkJ

To be a bit more explicit, since I was confused (like Ted) ...

While the subreport is selected, open "Sorting and Grouping" and type "=1"
as the Field/Expression, and set the Group Header property = Yes

This should add a NEW header section called "=1" to your subreport. Click
on it and set the Repeat Section property to Yes, and then just dump your
header into this new section (not in the Report Header).

-Mark
 
J

JoelE

What I can't understand is that I have two reports, seemingly ver
similar, both with page headers and footers and other sections as well
The first one shows up as a subreport just fine but the second on
doesn't.

Joel

Duane said:
*Subreports do not support page sections or events.


-
Joel
 
D

Duane Hookom

Page sections will not show in a subreport. You can "fake" a page header by
creating a primary sorting and grouping section on a constant value like:
=1
Show the Header section for this grouping level. Move controls from your
Page header section to the =1 header section. Set the =1 header "Repeat
Section" property to Yes.
 
Top