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 Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Page Header Changing with Subreports 2

Status
Not open for further replies.
Feb 9, 2009
77
US
I have a main report with multiple sub reports. I want the page header of the main report to change depending on what subreport is being shown. Any ideas?
 
It might be easier to simply create page headers within each subreport. You would create a formula like this:

whilereadingrecords;
""

Insert a group on this and check "repeat group header on each page". Then use this as the page header for your sub. Repeat in each sub.

-LB
 
I was planning on doing that, but one problem that I have run into is that one of the subreports has a graph in the report header section of it, because I want it at the beginning of that particular report. If I use the method you just spoke of, the "page headers" would repeat and come after the graph.
 
You can place the graph in a GH#1_b section--after the fake page header section.

-LB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top