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

Repeat Group header on each page 2

Status
Not open for further replies.

jpdmdc

Programmer
Joined
Mar 10, 2005
Messages
115
Hi,

I'm using CR 0 and Oracle 9i. I want the group header to repeat on each page but it is not doing so. It shows up only if the detail continues on next page.Other wise it won't. Please help!!

Thank you.
 
I guess I'm not sure exactly what you are doing. What happens if you use the GH#2 for the page header fields (for the pages where there isn't an orphaned GF), and then also add them to a GF#2_a section and use field (not section) suppression unless the GF2_a section is the first section on the page? See my post of 2/21/06 12:55, except it should have said GF_a in the two places where I mistakenly said GH_a.

-LB
 
lbass,

Thanks so much for your time. I really appreciate that you all are here to offer help to those of us who can't get it any where else.

I am so close....I tried what you suggested above. It is suppressing my "group footer header" but it isn't printing it when its supposed to.

I tried putting @linecnt in the conditional "group footer header" to see what value it is when its printing and, no surprise here - it equals 1 and the "group footer header" prints! But, if I suppress or remove the formula in the "group footer header" (because I don't want to see the line count on my report), the header doesn't print. What am I missing?

Thanks!
 
I think the issue is that a repeating group header will not appear with an orphaned group footer for the same group, but it will appear if it is from a higher order group. I think you could use a GH#1 section for the fake page header, as long as you format GF#1 with New Page After. The GH#1 will show the value of the first group #2 instance on the page, which is what you want. I think the suppression of many GF#1 is irrelevant, as long as you use the new page after on that section.

Then you won't need to use the GF#2_a section for page header fields at all.

-LB
 
lbass,

Just wanted to let you know I got my report to print like I need it to. I think I was trying to make it harder than it really was. I originally had the subreport's "page" header in a dummy group but moved it to GH#2 when I added the group's name to the header. If I had just put it in GH#1, I would have never bothered you. But each time I go through this, I learn something new. Thanks so much for all your help!

KABDRM
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top