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

page break subreport 2

Status
Not open for further replies.

elefantmannen

Programmer
May 14, 2003
25
SE
I have a main report with a subreport included. Problem is the sub report is a couple of pages long so I want to add a heading for each new page. Eeeeasy, just use the page header... No! it doesnt work. The page header from the sub report doesnt show up in the main report. Its like the sub report doesnt realize when there is a new page in the main report.

How to solve that??
 
Does your subreport have a group header? If not, add one and put the controls you want for the "page header" in the subreport's group header, and set the RepeatSection property of the group header to Yes.

Let me know if this helps....
 
it worked like a charm! Just sorted on a value which ws the same for all the rows and the subject appeared on every new page!!
 
Hello,
I just wanted to thank CosmoKramer for the response. I had exactly the same issue, and Cosmo had the perfect answer!
Thanks again!!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top