Solved

How to print Group in Crystal Reports if Group has no details

Posted on 2010-08-30
4
349 Views
Last Modified: 2012-05-10
I have a Crystal Report with a Group #1, a Group #2, and a Details section.  Each section points to a related table.  Group #2 is related to Group #1 through a foreign key in the Group #2 table.  The Details section is related to Group #2 through a foreign key in the Details table.

My problem is that not all of my Group #2 records have entries in the Details table but I want to print all of my Group #2 records.

How do I accomplish this?
0
Comment
Question by:MicheleDunham
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 100

Assisted Solution

by:mlmcc
mlmcc earned 200 total points
ID: 33563308
If the query doesn't return a record for theat group then you really can't provide the header since it doesn't have a record to use.

How do you have the tables joined?
Is there a single recordset for the report or are you using subreports?

mlmcc
0
 
LVL 11

Accepted Solution

by:
tickett earned 300 total points
ID: 33564795
You might be able to get around it by removing the details table from the main report and popping it in a subreport.

L
0
 

Author Comment

by:MicheleDunham
ID: 33570337
Hello,
 
Thank you for the advice on creating a subreport.  I decided to document this solution since it is something others have needed to do and I haven't found anything very explicit out there.

M


CrystalReportParcelDrilldown.doc
0
 

Author Closing Comment

by:MicheleDunham
ID: 33570368
I provided the detailed documentation of my solution so others could benefit.
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

Suggested Solutions

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…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

733 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