Print Page | Close Window

Conditional Section Suppress

Printed From: Crystal Reports Book
Category: Crystal Reports 9 through 2020
Forum Name: Technical Questions
Forum Discription: Formulas, charting data, Crystal syntax, etc.
URL: http://www.crystalreportsbook.com/forum/forum_posts.asp?TID=11582
Printed Date: 05 May 2024 at 4:42am


Topic: Conditional Section Suppress
Posted By: dweekley
Subject: Conditional Section Suppress
Date 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 mailto:%7b@tlJob - {@tlJob } = "%-00" then true else false.  Not sure if a wild card can be used here. 
 
Any assistance is appreciated
 
Thanks
David



Replies:
Posted By: FrnhtGLI
Date Posted: 03 Nov 2010 at 2:03am
You don't need an if statement in the section suppression area. Try:
 
"-00" in mailto:%7b@tlJob - {@tlJob }
 
That should get you what you want.
 
Hope that helps.


-------------
|< /\ '][' ( )


Posted By: dweekley
Date Posted: 03 Nov 2010 at 2:18am
Thanks for the assist.  That worked just fine.  Another question...Can multiple (x in y) statements work?


Posted By: FrnhtGLI
Date Posted: 03 Nov 2010 at 10:02am
I don't see why not. Use "and" or "or" between to suit your needs.

-------------
|< /\ '][' ( )



Print Page | Close Window