How do I search for a wildcard character in Microsoft CRM 4.0?

Posted by Geoff Maybache on Stack Overflow See other posts from Stack Overflow or by Geoff Maybache
Published on 2010-05-10T09:33:43Z Indexed on 2010/05/10 10:04 UTC
Read the original article Hit count: 705

Filed under:
|

I need to search for accounts in Microsoft CRM, using a wildcard search to get a "contains" search for the user's input. So if the user enters "ABC", I use ConditionOperator.Like and the value "%ABC%".

My question is, how would I search for a customer name that contains a percentage sign, such as "100% Great llc"? I can't find a way to escape the %.

© Stack Overflow or respective owner

Related posts about mscrm

Related posts about sql-server