Solved

Crystal Reports - remove dashes in field

Posted on 2009-07-16
4
442 Views
Last Modified: 2013-11-15
I am trying to print a field on a report which has embedded "-" in it which I DON'T want to print.  is there a formula for removing embedded character??

Thanks for your help
0
Comment
Question by:mbroad02
  • 2
4 Comments
 
LVL 100

Accepted Solution

by:
mlmcc earned 400 total points
ID: 24870879
Try this

Replace({YourField},'-',')

mlmcc
0
 
LVL 5

Assisted Solution

by:dhobale
dhobale earned 100 total points
ID: 24871733
Create a formula in formula editor as shown above by mlmcc:

Replace({YourField},'-',')

and then insert the formula field on report instead of your old field.
0
 

Author Closing Comment

by:mbroad02
ID: 31604288
Very easy to use--thank you
0
 
LVL 100

Expert Comment

by:mlmcc
ID: 24891896
Minor error in the formula

Replace({YourField},'-','')

mlmcc
0

Featured Post

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

Suggested Solutions

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…
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…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

828 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