Solved

CRYSTAL REPORTS:  Replace a wild card word with new word

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

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.

Question has a verified solution.

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

Suggested Solutions

Hot fix for .Net Crystal Reports 10.2.3600.0 to fix problems with sub reports running on 64 bit operating systems ISSUE: Reports which contain subreports fail with error "Missing Parameter Value" DEPLOYMENT SERVER OS: Windows 2008 with 64 bi…
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…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

856 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