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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SQL Expression: Locate function works for some not for all

Status
Not open for further replies.

morechocolate

Technical User
Apr 5, 2001
225
US
Using Crystal 8.5 Any idea why

using the statement {fn LOCATE(PHIST."LOAN", p.loan_name)}

and given

phist.loan = 111111
p.loan_name = property name 111111

would return 15

but

phist.loan = 222222
p.loan_name = property name 222222 (other text)

would return 0 - the loan is within the loan_name

I cannot figure this out to save my life
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top