Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 Development Tools
 Reporting Services Development
 "LIKE" syntax in SSRS 2000

Author  Topic 

latingntlman
Yak Posting Veteran

96 Posts

Posted - 2008-09-10 : 11:20:00
I'm trying to find out what the syntax in RS would be if I want to assign a value depending of the content of a text field as shown below:

=Iif( Fields!CampaignID.Value like "RENEW*",
"Accepted Renewal", "Agreed to Testimony")

However I don't think RS works with operand "like".

Is there a function in RS for 'like' or instring'?

thx,

John

SwePeso
Patron Saint of Lost Yaks

30421 Posts

Posted - 2008-09-10 : 11:35:24
=Iif( left( Fields!CampaignID.Value , 5 ) = "RENEW", "Accepted Renewal", "Agreed to Testimony" )


E 12°55'05.63"
N 56°04'39.26"
Go to Top of Page

latingntlman
Yak Posting Veteran

96 Posts

Posted - 2008-09-10 : 12:21:50
Thanks,
Go to Top of Page
   

- Advertisement -