Solved

CRYSTAL REPORTS:  Replace a wild card word with new word

Posted on 2011-03-17
1
514 Views
Last Modified: 2012-06-27
Experts,

How can I modify this code to use a wild card to replace with a new word.  Example:  Clos% to replace with Completed.

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

0
Comment
Question by:Maliki Hassani
1 Comment
 
LVL 77

Accepted Solution

by:
peter57r earned 500 total points
ID: 35157364
If left(({Maintenance.Status},4)  = "Clos") then
   "Completed"
Else
   {Maintenance.Status}

0

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

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…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

679 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