Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8808

Re: Crystal Reports- Filter field by specific word(s)

$
0
0

OK. Change the SQL Expression code to:

 

(

SELECT CASE

WHEN CHARINDEX('replaced',"Table"."Database"_Field") > 0

OR CHARINDEX('replace',"Table"."Database"_Field") > 0

OR CHARINDEX('swap',"Table"."Database"_Field") > 0

OR CHARINDEX('UPS',"Table"."Database"_Field") > 0

THEN 1 ELSE 0

END

)

 

Then, go to the Record Selection Formula and use the SQL Expression as:

 

{%SQL_Exp_Name} = 1


-Abhilash


Viewing all articles
Browse latest Browse all 8808

Trending Articles