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!

Supress group when sub report is blank

Status
Not open for further replies.

slickp

Technical User
Feb 15, 2006
35
GB
Crystal 10

Hi, i've got a subreport in the details and i would like to supress the group header above it if no data is in the subreport. Any ideas? Would it need to be some sort of shared variable upon which to supress the group header?
 
You would need to have a copy of the subreport in a group header section above the one that you want to suppress. You can suppress all sections within this subreport, format the subreport to "suppress blank subreport", and format the section it is in to "suppress blank section". Place a shared variable in the subreport footer, and then reference in the main report in order to suppress the group header below it.

-LB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top