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

Case Statement with a wildcard operator?

Status
Not open for further replies.

tman135

Programmer
Feb 28, 2001
48
US
Is it possible to use a case statement in Crystal 8.5 with a wildcard operator?

For example,

SELECT (TABLE.FIELD)
CASE LIKE '%VHS%' AND LIKE '%GB%' : 50



Thanks for any advice
 
Are you talking in the record selection area ("menued" at Report / Edit / Edit Selection Formula > Record...)

You could use:
{table.field} like ["*VHS*","*GB*"]

or you could use the record selection expert and choose "Is like" for your field.

Mike
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top