cancel
Showing results for 
Search instead for 
Did you mean: 

Crystal: Using LIKE in SQL command

01-24-2019 5:07 PM
376 views 1 comments
0 Likes
SAP Managed Tags
Subscribe

I'm modifying a report which lists all the positions available in the database. I am trying to use LIKE in the SQL command so that when a user selects a keyword from the parameter, the report will list all the positions related to the keyword, for example, if a user selects "Captain" from the parameter list, which is already set up, the report will show all the positions that include the captain and captain-like.

I have tried using followings in SQL command:

and category LIKE '{?Position}*'

Or

and category LIKE '{?Position}' + '*'

And they do not work. How do I use LIKE in SQL command in Crystal?

0 Likes

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member548403
Participant
0 Likes

Figured it out, sort of. This works.

And category like {?Position} + '%'

But does anyone know how to incorporate this into Allow multiple values?