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!

Parameter trouble

Status
Not open for further replies.

raja2008

Technical User
Apr 16, 2008
265
US
Hello Everyone!

I'm using Crystal Reports XI.
I have a parameter on the field Summary which is a string.
When i use the parameter in the select expert it brings me nothing.

I use the parameter like this
table.summary like "*{?summary}*" and it brings me nothing.
when i use the same word that i'm going to search for with the parameter in the select expert it works.
table.summary like "*word*"

Please help.

 
With parameters, you have to use:

{table.summary} like "*"+{?summary}+"*"

-LB
 
keep in mind case sensitivity as well

uppercase({table.summary}) like "*"+uppercase({?summary})+"*"
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top