Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

like clause is not working

Status
Not open for further replies.

taree

Technical User
May 31, 2008
316
US
when I do a searhc for system / consultant, it does not find it. however, when I just do a search by system then it finds it. what wrong with my script. thank you for the help.

(if {?vendorBusinessDesc} <> ' ' then
{Command.BUSINESSDESC} like trim(uppercase("*"+{?vendorBusinessDesc}+"*"))
else True)
 
ucase(replace({Command.BUSINESSDESC}," ","")) like "*"+ucase(replace({?vendorBusinessDesc})," ",""))+"*"

I think the problem is with your interior spaces at least in part.

-LB

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top