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!

Hiding Subreport when there are no records to display due to suppress conditions in the subreport

Status
Not open for further replies.

NBVC

Technical User
Sep 18, 2006
80
0
0
CA
I am using Crystal Reports 2013.

I have a Subreport with headers, and I have set conditional suppression for the records.

When there are no records displayed due to the suppress conditions I want to suppress the subreport from displaying in my main report.

I tried setting the Subreport format to "suppress blank subreport", but it doesn't work. I see the subreport headers on the main report.

I can't suppress the section because I have other data in that section of my main report.

If I pass the Record Count to the subreport footer, i get >0 records even if none are showing.

How can I hide the subreport (or even the subreport headers when there are no records to display)?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top