Solved

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

Posted on 2010-08-30
4
347 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
  • 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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

Crystal Reports: 5 Tests for Top Performance It is complete, your masterpiece report.  Not only does it meet your customer’s expectations, it blows them out the water, all they want is beautifully summarised and displayed in a myriad of ways. …
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…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

813 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

12 Experts available now in Live!

Get 1:1 Help Now