[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 592
  • Last Modified:

Crystal Reports - Hide section if Subreport has no records

I have a Crystal report in VS2008 which has a sub-report. If the sub-report has no records I want to suppress the section that it is in.

Thanks,
Mark
0
etsellinc
Asked:
etsellinc
1 Solution
 
GJParkerCommented:
I don't use VS 2008 but here is the method I would use in CR XI

In the subreport  -

conditionally suppress all sections if no records are returned

In main report -
     
format subreport -> subreport tab -> suppress blank subreport
go to selection expert -> check 'suppress blank section' for section containing the subreport

HTH
0
 
etsellincAuthor Commented:
Thanks very much. Works like a charm!

Mark
0

Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now