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

Custom page header + Subreport woes

Status
Not open for further replies.

shakespeare5677

Programmer
Jul 18, 2005
284
US
CR10 Developer, XPHome

I have a report with two groups in it. The sections shown are page header, inner group footer and page footer. My problem is that I'm trying to modify the page header to display extra details if the inner group footer has been extended onto the next page by a subreport.

I'm trying to do this by saving the current page title (made up of three formulas) and compare it to the previous page title. What seems to be happening is that the last title variable, though obviously set and displaying the proper value in the inner group footer, does not take on value until the outer group ends.

What am I doing wrong?

If it makes any difference, I'm inserting a new page after every inner group footer, suppressed or not.

Please help. Thank you.

-Max
 
It's not clear what you're doing. It would help if you posted your formulas.

Are you using shared variables? Did you remember that a shared variable will not have a value until the section after the section containing the subreport.

You could maybe get what you want by another method, such as saving the page-count in a variable.

[yinyang] Madawc Williams (East Anglia, UK). Using Windows XP & Crystal 10 [yinyang]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top