Solved

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

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

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

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…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

743 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

16 Experts available now in Live!

Get 1:1 Help Now