Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Technical Questions
Message Icon Topic: displaying conditional section Post Reply Post New Topic
Author Message
leo_dec
Newbie
Newbie
Avatar

Joined: 25 May 2009
Online Status: Offline
Posts: 7
Quote leo_dec Replybullet Topic: displaying conditional section
     Posted: 27 May 2009 at 7:29am
Hi
 
I am new to crystal reports, i have two detail sections in report, wants to suppress them conditionally using section expert. Plz reply soon.
 
Thanks
IP IP Logged
rahulwalawalkar
Senior Member
Senior Member
Avatar

Joined: 08 Jun 2007
Location: United Kingdom
Online Status: Offline
Posts: 731
Quote rahulwalawalkar Replybullet Posted: 27 May 2009 at 7:34am

Hi

Go to details section which you want to suppress.
Right click select Section Expert then in Section Expert select the details section which you want to suppress
in Common Tab click x+2 against Suppress(No Drill Down) and write your condition.
 
cheers
Rahul
 
IP IP Logged
leo_dec
Newbie
Newbie
Avatar

Joined: 25 May 2009
Online Status: Offline
Posts: 7
Quote leo_dec Replybullet Posted: 27 May 2009 at 8:01am

i have two sections detaila and detailb and on condition if sales are less than 25k i want section detailb should be displayed otherwise section detaila.

IP IP Logged
DBlank
Moderator
Moderator


Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Quote DBlank Replybullet Posted: 27 May 2009 at 8:51am

Assuming your 25k is a field value and not a sum, in details a conditionally suppress with the formula:

{table.salesfield}<=25,000
 
Details b conditionally suppress as:
{table.salesfield}>25,000
IP IP Logged
leo_dec
Newbie
Newbie
Avatar

Joined: 25 May 2009
Online Status: Offline
Posts: 7
Quote leo_dec Replybullet Posted: 27 May 2009 at 10:36am
thanks for your help dear it worked
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