Solved

details section blank then don't show group header or footer

Posted on 2007-11-30
3
341 Views
Last Modified: 2012-06-21
Crystal reports XI

If details section is blank then I don't want to show the group header or footer.  How do I go about that?  
0
Comment
Question by:ThomasBallardIT
  • 2
3 Comments
 
LVL 100

Expert Comment

by:mlmcc
ID: 20385293
You might look at this idea
http://www.experts-exchange.com/Database/Reporting_/Crystal_Reports/Q_21350521.html

In the group header can you determine if the detail section is blank?
You should only get the group header and footer if there is data for the group.

mlmcc
0
 
LVL 3

Author Comment

by:ThomasBallardIT
ID: 20385724
Well there is data but I am suppressing it with this formula
{@AWG stockcode exemption} = " " in the details section.
0
 
LVL 100

Accepted Solution

by:
mlmcc earned 250 total points
ID: 20386422
So the group may have several records and some or all of them may be suppressed.

Try this
Add a formula
If {@AWG stockcode exemption} = " "  then'
   0
else
   1

Put that in the detail section
Add a summary (sum) on the field for the group

You should be able to suppress the group header and footer using the summary field by testing it for 0.

mlmcc
0

Featured Post

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I hate sub reports and always consider them the last resort in any reporting solution.  The negative effect on performance and maintainability is just not worth the easy ride they give the report writer.  Nine times out of ten reporting requirements…
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…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

831 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