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

Soundex function/Parameter Value 1

Status
Not open for further replies.

lizzieb

MIS
Jul 12, 2001
15
US
I'm trying to create a name search that uses the soundex function and it doesn't seem to like using the parameter value. I am using the selection expert where the soundex value of the field (last name) is equal to the soundex value of the parameter field (last name). If I substitute the parameter value for a static value, it returns a valid record. With the parameter field, it returns all records in the database. (Good thing I am running this against a small training db for testing!) Does anyone have any advice/ideas for me?
 
It works for me. What is your actual selection formula? Cut and paste it here. Ken Hamady, On-site/Phone Crystal Reports Training/Consulting
Quick Reference Guide to using Crystal in VB
 
Thank you so much for trying to help me out. I read in the standard Crystal "help" for syntax on the soundex function which mentioned that the value string must be in quotes. Just this morning I removed the quotes and it worked just fine. Thanks again.
 
That must be worded poorly, the quotes are only for a literal string. Not for a field or parameter. Ken Hamady, On-site/Phone Crystal Reports Training/Consulting
Quick Reference Guide to using Crystal in VB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top