Page header not showing in subreport

P

P

Hi,

Access 2002. I created a report with one subreport. The subreport contains
many records and I would like to include the title of the subreport on each
page. I tried to add a text box in the page header of the subreport but it
does not show in the main report. I tried using the report header. It shows
but only on the first page of the subreport (as expected). Any thoughts?
Thank you. P
 
R

Rick Brandt

P said:
Hi,

Access 2002. I created a report with one subreport. The subreport contains
many records and I would like to include the title of the subreport on each
page. I tried to add a text box in the page header of the subreport but it
does not show in the main report. I tried using the report header. It shows
but only on the first page of the subreport (as expected). Any thoughts?

Nothing related to "pages" works in a subreport because all page stuff is
handled by the parent report.

You can fake it by adding a group header to your subreport based on a
constant value like =1 and setting the RepeatSection property of the
section to True. This group header must be the very first one listed in
the Sorting and Grouping dialog.

The added section will act much like a PageHeader but will show through on
the parent report.
 

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