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

Crystal Report formula (finding with key words) 1

Status
Not open for further replies.

john432

Technical User
Jan 8, 2024
10
US
Hello,

I'm trying to create a report that will display a statement on certain customer reports.

My formula right now looks something like if {xxxx.Customer_name} = "Rockwell" then "statement"

How do I create the report to add the statement to any customer containing Rockwell?

With my current formula it will only display the statement when the customer name is exact, if it contains more than rockwell in the name the statement will not display

any help will be greatly appreciated.
 
Code:
If      {xxxx.Customer_name} LIKE '*Rockwell*'
Then    '"Statement"'

Cheers
Pete
 
Thank you pmax9999, I was missing the asterisk.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top