Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Report Design
Message Icon Topic: Suppress based on field value Post Reply Post New Topic
Author Message
samnitzberg
Newbie
Newbie


Joined: 21 Nov 2008
Location: United States
Online Status: Offline
Posts: 3
Quote samnitzberg Replybullet Topic: Suppress based on field value
     Posted: 25 Jul 2011 at 9:43am

I would like to have a text field appear in either a group footer or report footer, but only if a particular field which is in the Details section has a particular value.  This is for an invoice, so if a customer has bought a particular item, that item will, of course, appear in the Details section.  I want this new associated text field to appear at the end of the report, after all of the other items that the customer bought are listed.  Can this be done?  If so, how?

IP IP Logged
DBlank
Moderator
Moderator


Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Quote DBlank Replybullet Posted: 25 Jul 2011 at 11:08am

Is this the same piece of text all the time?

IF so just place the text in the group footer
create a "flag" formula to check for your record
if table.item = "x" then 1
Sum this at the group level so anytime the group value is > 0 you want to show your text
therefore you can use this as conditional suppression
SUM(@flag,invoice)=0
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