Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Report Design
Message Icon Topic: display the whole group if one record of the cond Post Reply Post New Topic
Author Message
dash_anup2000
Newbie
Newbie
Avatar

Joined: 26 Feb 2008
Location: India
Online Status: Offline
Posts: 8
Quote dash_anup2000 Replybullet Topic: display the whole group if one record of the cond
     Posted: 27 Jun 2008 at 3:51am

Hi
I am using database as Oracle 9i and Crystal XI as reporting.
 
I wanted to know
how to display the whole group if one record of the group satisfies the condition in Crystal XI

Example
-----------
 I have some group level
    group1- Campaign Code
      group2- Country Code
        group3-- Project Code
 In a project some active sponsors are present

 If the number of active sponsors in single  project > 25 the the whole Campaign group ( i.e from group1- Campaign Code) should diplay in the report.

can anyone please help me out for that. Its really required in Urjency. So please help me out.
Anup

Anup
IP IP Logged
BrianBischof
Admin Group
Admin Group
Avatar

Joined: 09 Nov 2006
Online Status: Offline
Posts: 2458
Quote BrianBischof Replybullet Posted: 27 Jun 2008 at 12:37pm
Use the count function to return how many times an item appears in a group (you can specify any field):
Count({Orders.Order Id}, {Campaign.Campaign Code})<25;

Use this as the conditional formatting formula for any section you want to suppress.
Please support the forum! Tell others by linking to it on your blog or website:<a href="http://www.crystalreportsbook.com/forum/">Crystal Reports Forum</a>
IP IP Logged
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