Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Technical Questions
Message Icon Topic: Grouping Question Post Reply Post New Topic
Author Message
sgwoz
Newbie
Newbie
Avatar

Joined: 08 May 2009
Location: United States
Online Status: Offline
Posts: 1
Quote sgwoz Replybullet Topic: Grouping Question
    Posted: 08 May 2009 at 10:41am

I'm pretty sure this is going to turn out to be a pretty basic question, but here goes. I have created a report with groups in it. There are some sections that do not have data in them, which do not show up in the report. If there is no data how do I get the section to show up and the total be 0?

Thanks!
IP IP Logged
DBlank
Moderator
Moderator


Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Quote DBlank Replybullet Posted: 08 May 2009 at 10:48am

2 main things to look for. One is your joins. If you are joining two (or more) tables you may need to use a left outer join to get all the records from the one table that has the field you are grouping on. If there are no matching records in the other table(s) these would be excluded from your report by the inner join.

The other thing is your select statement. Make sure it is written in such a way as to to include items that have "none". Also be aware that your select statement may make your outer join into an inner joing by excluding records.
Either of these circumstances will prevent the group from appearing with no details.
Does this solve your problem?
IP IP Logged
Post Reply Post New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum



This page was generated in 0.016 seconds.