Suppress Group Header If Subreports in Group Footers Return No Information

Posted on 2010-01-05
Last Modified: 2012-06-27
I have a crystal report that has one group, consisting of a group header and 9 group footers. In each of the group footers I have a separate subreport. I have the subreports set so that they are suppressed on the main report, if blank. What I am wondering is how I can supress the Group Header, if all of the Group Footers are blank?
Question by:Hunter79
    LVL 100

    Expert Comment

    Since the subreports are run after the group header is built and displayed there is no way to use them.  

    The only way would be to build subreports that check if there is data and put them in the group header and suppress using the values returned from them.


    Author Comment

    Can you please explain how I could go about doing this?
    LVL 100

    Accepted Solution

    The easy way is to put the existng subreports in the header and pass a value back from wach that indicates if there were records.

    A better way would be to develop a subreport that simply uses the same data source and just test how many records were returned.


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Find Ransomware Secrets With All-Source Analysis

    Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

    There have always been a lot of questions related to when Crystal Reports evaluates report components (such as formulas, summaries, cross-tabs, charts, to name a few examples). Crystal Reports uses a two-pass reporting process to provide greater …
    Hello everyone, Hope you find this as helpful as we did. We have on the company I work for an application built in Delphi V with Crystal Reports 8. We all know that Crystal & Delphi can be temperamental sometimes and the worst thing is, nearly…
    To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…
    Internet Business Fax to Email Made Easy - With eFax Corporate (, you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

    761 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    8 Experts available now in Live!

    Get 1:1 Help Now