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

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 9080

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>