Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2020 : Technical Questions
Message Icon Topic: Crystal Reports hide certain groups Post Reply Post New Topic
Author Message
bikuta
Newbie
Newbie


Joined: 04 Mar 2010
Location: Australia
Online Status: Offline
Posts: 1
Quote bikuta Replybullet Topic: Crystal Reports hide certain groups
    Posted: 04 Mar 2010 at 4:13pm

Hi there,

I'm trying to build a Crystal Report and this is what it looks like (for one of the groups):

GH1
  – Customer
GH2
  – today
  Details
   – record 1
   – record 2
GF2
GH2
  – yesterday
  Details
   – record 3
   – record 4
GF2
GF1

As you can see this group have two subgroups under it.
What I'm trying to do is, to suppress the Customer group if it does not have 2 subgroups, i.e., it would only records either in the today subgroup or the yesterday subgroup, but not both.

Any ideas how I can do this in Crystal?
I'm using Crystal 10.

IP IP Logged
DBlank
Moderator
Moderator


Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Quote DBlank Replybullet Posted: 05 Mar 2010 at 7:29am

I assume you are filtering so only pull records for the last 2 days. I also assume your G2 is on a date field set for 'daily'.

Do a dinstinctcount on the datefield used for G2 changing at G1.
YOu can now conditioanlly suppress your sections when that SUmmary is <>2
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.031 seconds.