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

Reprt header for a sub report

Status
Not open for further replies.

scb1776

Programmer
Dec 29, 2006
31
US
I have a report that is made up of three sub reports. The sub reports have completely different queries and select statements, so the main report is kind of a one page summary display.

Each of the sub reports contains data that the users want to drill down into. The users accept that they have to open the subreport (by double clicking on it in the main report) and then they can drill down.

The problem is that they want to see the report header at the top of the report for the sub-report if they are in the actual sub-report.

How can I supress the header information in the sub-report if I am viewing it from the main report (since I don't want to see three copies of it), while displaying the information if it is the sub-report's window that is open?

I know that there is a formula that I can use when I am doing something like this to determine if I am in a drill down screen verses the main screen. I am hoping there is the same type of thing for sub-reports.
 
To get the effect of page header for your subreport, create a group that includes everything in that subreport. Then select [Change Group] and check [Repeat Group Header On Each page].

It helps to give your Crystal version - 8, 8.5, 9, 10, 11 or whatever. Methods sometimes change between versions, and higher versions have extra options. In this case, it probably makes no difference.


[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