Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 278
  • Last Modified:

CRYSTAL REPORTS: Replace a word with new word

Experts:

How can I replace a word with a new word..  Example:  On the status column I want to replace "Closed" with "Completed"?

I was thinking
If "Closed"({Maintenance.Status}) then
   "Completed"
Else
   CStr({Maintenance.Status})

But that doesn't work

Thanks
0
Maliki Hassani
Asked:
Maliki Hassani
  • 3
1 Solution
 
mlmccCommented:
Try

If ({Maintenance.Status} = "Closed") then
   "Completed"
Else
   {Maintenance.Status}

mlmcc

0
 
Maliki HassaniAuthor Commented:
ha ha thanks...  Still looking at your other replies on open questions of mine.. Thanks a  bunch
0
 
Maliki HassaniAuthor Commented:
Oh and what if I wanted it to be a wild card like "Close%",  sine there may be other words after?
0
 
Maliki HassaniAuthor Commented:
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

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