• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 255
  • Last Modified:

crystal 11 Name Contains

I have a report with a field "BillToName"
I want to add a parameter to select all records based on other parameters where the "BillToName" contains "xxx" selected at run time.
0
actsoft
Asked:
actsoft
  • 2
  • 2
1 Solution
 
mlmccCommented:
Try

InStr({YourField},"YourText")  > 0
0
 
actsoftAuthor Commented:
So would the {yourField} = {BillToName}
and the "YourText" ={?ParameterField}

Would this then prompt at run time the BillToName contains "xxx"?
0
 
actsoftAuthor Commented:
I created a blank parameter field.
Set the select expert to be "Is Like" = parameter field
Then in prompt enter criteria *xxx*
0
 
mlmccCommented:
No.  You need to use the field you are trying select on.

mlmcc
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now