Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2020 : Technical Questions
Message Icon Topic: Conditional Section Suppress Post Reply Post New Topic
Author Message
dweekley
Newbie
Newbie


Joined: 02 Nov 2010
Online Status: Offline
Posts: 13
Quote dweekley Replybullet Topic: Conditional Section Suppress
    Posted: 02 Nov 2010 at 1:00pm
NEW to Crystal.  I am trying to Suppress a Section based on a field value.  I my Job Number contains a '-00' I want the Section suppressed.  Started using if {@tlJob} = "%-00" then true else false.  Not sure if a wild card can be used here. 
 
Any assistance is appreciated
 
Thanks
David
IP IP Logged
FrnhtGLI
Senior Member
Senior Member
Avatar

Joined: 22 May 2009
Online Status: Offline
Posts: 347
Quote FrnhtGLI Replybullet Posted: 03 Nov 2010 at 2:03am
You don't need an if statement in the section suppression area. Try:
 
"-00" in {@tlJob}
 
That should get you what you want.
 
Hope that helps.
|< /\ '][' ( )
IP IP Logged
dweekley
Newbie
Newbie


Joined: 02 Nov 2010
Online Status: Offline
Posts: 13
Quote dweekley Replybullet Posted: 03 Nov 2010 at 2:18am
Thanks for the assist.  That worked just fine.  Another question...Can multiple (x in y) statements work?
IP IP Logged
FrnhtGLI
Senior Member
Senior Member
Avatar

Joined: 22 May 2009
Online Status: Offline
Posts: 347
Quote FrnhtGLI Replybullet Posted: 03 Nov 2010 at 10:02am
I don't see why not. Use "and" or "or" between to suit your needs.
|< /\ '][' ( )
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.047 seconds.