subreport header missing

G

Guest

I read previous postings about this subject and understand that the main report manages the headers and footer but I would need more detail on how to user a "header" created in the sub report

*****************
The main report is in charge of paging issues, subreport d
not use the page header/footer, page events, etc

The usual way to simulate a page header is to create a to
level group (Sorting and Grouping) based on a constan
expression such as =1. Make sure this group has a grou
header section, then move the controls to the new header an
fix them as needed (e.g. =Page & " of " Pages needs to b
changed to =Parent.Page & " of " Parent.Pages). Set th
group header's RepeatSection property to Yes
**********************

can someone elaborate on this a bit

Daniel
 
M

Marshall Barton

Daniel said:
I read previous postings about this subject and understand that the main report manages the headers and footer but I would need more detail on how to user a "header" created in the sub report.

******************
The main report is in charge of paging issues, subreport do
not use the page header/footer, page events, etc.

The usual way to simulate a page header is to create a top
level group (Sorting and Grouping) based on a constant
expression such as =1. Make sure this group has a group
header section, then move the controls to the new header and
fix them as needed (e.g. =Page & " of " Pages needs to be
changed to =Parent.Page & " of " Parent.Pages). Set the
group header's RepeatSection property to Yes.
***********************


The Sorting and Group window can be opened from the View
menu when the report is open in design view. The top level
group is the one at the top of the list. To create a header
section for the group, specify Yes for the group's Header
Section property in the bottom area of the window.
 

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