Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

print subreport's own report header

Status
Not open for further replies.

ranagman

MIS
Nov 3, 2001
1
I have a subreport called from the main report footer. I'm trying to have the subreport print it's own page header in addition to the report header from the main report. Is it possible? please advise.
Thank you.
 
Subreports can not contain page header sections. They have report headers but no page headers.
 
You can create as fake page header in a sub report by doing the following

In the report header place the following formula

//@FakePH
WhileReadingRecords;
1


Then insert @FakePH as a group

If you already have groups in your subreport, then simply right click and hold on the group header and move it to group 1

You now have a custome made Page header.


Cheers

 
Forgot one important step

If you are creating the group, be sure to click on Repeat Group Header on each page.

If you already created the group, then right click on the Group header on the design tab and click on Change Group and then click on Repeat Group Header on each page.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top