cancel
Showing results for 
Search instead for 
Did you mean: 

Crystal Report - using wild characters in selection parameter

11-03-2010 5:37 PM
12456 views 2 comments
0 Likes
SAP Managed Tags
Subscribe

I need to know the syntax on using sild characters in a range of inputs. For example, I have a begPart and End part inputs. I want the ability to use wild character to give me a selection that would include *Oil or Filter * (this would give me all parts that start with Filter).

0 Likes

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Likes

Something like this...


{TableName.FieldName} like "*" & {?My Parameter} & "*"

HTH,

Jason

Former Member
0 Likes

wildcard in crystal syntax is *

field like ["*oil*","*filter*"]  // will return values containing oil or filter

field like "filter*"   // with return values starting with filter
field like ["*oil","filter*"]  
// will return values ending with oil or starting with filter