Solved

CRYSTAL REPORTS:  Replace a wild card word with new word

Posted on 2011-03-17
1
492 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

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

Suggested Solutions

Title # Comments Views Activity
Display group header even if no detail records 9 63
Formatting a Crystal Report 2 47
"A string is required here" error in Formula 7 44
Pull date to Group header 6 26
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…
There have always been a lot of questions related to when Crystal Reports evaluates report components (such as formulas, summaries, cross-tabs, charts, to name a few examples). Crystal Reports uses a two-pass reporting process to provide greater …
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…
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…

919 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

18 Experts available now in Live!

Get 1:1 Help Now