Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Report Design
Message Icon Topic: Suppress if "this" Post Reply Post New Topic
Author Message
Ewaddy
Newbie
Newbie


Joined: 09 Apr 2012
Location: United States
Online Status: Offline
Posts: 1
Quote Ewaddy Replybullet Topic: Suppress if "this"
     Posted: 09 Apr 2012 at 8:16am
I am trying to right a suppression formula, the formla is;
 
Suppress:
if {AR_InvoiceHistoryDetail.ItemCode}="/10GOLDPORT" and if InStr({AR_InvoiceHistoryHeader.UDF_LICENSE_ACTION},"RENEW")
 
What i am trying to is, suppress any files that item number =/10GOLDPORT and the License Action contains the word RENEW.  would the above isn't working and I am not sure what's missing.
IP IP Logged
DBlank
Moderator
Moderator


Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Quote DBlank Replybullet Posted: 09 Apr 2012 at 10:14am
suppression is just a boolean result so no if-then is needed
Drop the IFs and add the intr() requirement...
 
{AR_InvoiceHistoryDetail.ItemCode}="/10GOLDPORT" and InStr({AR_InvoiceHistoryHeader.UDF_LICENSE_ACTION},"RENEW")>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