Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2020 : Technical Questions
Message Icon Topic: Locating certain letters Post Reply Post New Topic
Author Message
stevbren
Newbie
Newbie
Avatar

Joined: 20 Nov 2007
Online Status: Offline
Posts: 33
Quote stevbren Replybullet Topic: Locating certain letters
    Posted: 10 Jan 2008 at 3:32am

I need to view only a description of a job that the field contain these letters, RRSNC.

They are always in this order, but can be anywhere in a job description withing the same field though. Can someone tell me how to write a formula to only make the desciption show that has these letters in this order.
For those wondering, they mean, "re-run same no change"
IP IP Logged
Lugh
Senior Member
Senior Member
Avatar

Joined: 14 Nov 2007
Online Status: Offline
Posts: 377
Quote Lugh Replybullet Posted: 10 Jan 2008 at 5:42am
Are you talking about in Select Expert?  Use the "is like" option.  So, the formula would look something like:

Job LIKE "*RRSNC*"


If you are talking about in a formula in a report, say for conditional formatting, then it might look more like:

IF InStr({MyReport.Job},"RRSNC") = 0
THEN False
ELSE True


IP IP Logged
stevbren
Newbie
Newbie
Avatar

Joined: 20 Nov 2007
Online Status: Offline
Posts: 33
Quote stevbren Replybullet Posted: 12 Jan 2008 at 7:23am
Perfect.
Thank you so much.
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.031 seconds.