Subreport Headers

A

Arun

I have a subreport which contains headers. How do I have the subreport
headers show up when placed in the main report?
 
O

Ofer

It need to be placed on the Report Header of the sub report, the page header
of the sub report will disapear.
 
M

Marshall Barton

Arun said:
I have a subreport which contains headers. How do I have the subreport
headers show up when placed in the main report?


All headers in the subreport should work, except the page
header/footer. So I think you must mean that you want to
simulate the subreport page header.

This is done by creating a top level group with header in
the subreport. Set the group Field/Expression to a constant
expression such as =1 or ="Funky Page Header". Then move
all the controls from the inefffective page header to the
new group header and set to group header's RepeatSection
property to Yes.
 
A

Arun

Okay great, that works.

Now, how do I get the subreport headers to appear on every page of the main
report? For example, the subreport items roll into the second page and where
I don't have any headers.
 
D

Duane Hookom

Create a new top level sorting and grouping level based on a constant like
=1
Display the header section for this grouping and set the Repeat Section
property of the header section to Yes. Use this section as a "Page" header.
 
G

guat

I found this answer very helpful, but how can I get a different header for
the first and second pages of a subreport?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top