Solved

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

Posted on 2007-11-30
3
342 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Hot fix for .Net Crystal Reports 10.2.3600.0 to fix problems with sub reports running on 64 bit operating systems ISSUE: Reports which contain subreports fail with error "Missing Parameter Value" DEPLOYMENT SERVER OS: Windows 2008 with 64 bi…
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…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

790 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