Solved

CRYSTAL REPORTS:  Replace a word with new word

Posted on 2011-03-17
4
259 Views
Last Modified: 2012-05-11
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
Comment
Question by:Maliki Hassani
  • 3
4 Comments
 
LVL 100

Accepted Solution

by:
mlmcc earned 500 total points
ID: 35156806
Try

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

mlmcc

0
 

Author Comment

by:Maliki Hassani
ID: 35156883
ha ha thanks...  Still looking at your other replies on open questions of mine.. Thanks a  bunch
0
 

Author Comment

by:Maliki Hassani
ID: 35156940
Oh and what if I wanted it to be a wild card like "Close%",  sine there may be other words after?
0
 

Author Comment

by:Maliki Hassani
ID: 35157058
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I hate sub reports and always consider them the last resort in any reporting solution.  The negative effect on performance and maintainability is just not worth the easy ride they give the report writer.  Nine times out of ten reporting requirements…
Hello everyone, Hope you find this as helpful as we did. We have on the company I work for an application built in Delphi V with Crystal Reports 8. We all know that Crystal & Delphi can be temperamental sometimes and the worst thing is, nearly…
Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now