Solved

Remove comma from string field in a Crystal Report

Posted on 2003-12-04
2
2,441 Views
Last Modified: 2007-12-19
I have a string in a report that sometimes has commas in it, how can i remove these in a formula?

Like:   John Smith, Jr.
Needs to be:  John Smith Jr.
0
Comment
Question by:cybrthug
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 42

Accepted Solution

by:
frodoman earned 125 total points
ID: 9876645
Replace({FieldName},",","XXX")

XXX above represents whatever you want to replace the commas - you can simply use an empty string "" to remove them completely.
0
 

Author Comment

by:cybrthug
ID: 9876683
Awesome work frodoman,  I did take out the XXX and it worked great.
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Crystal Reports: 5 Tests for Top Performance It is complete, your masterpiece report.  Not only does it meet your customer’s expectations, it blows them out the water, all they want is beautifully summarised and displayed in a myriad of ways. …
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…
Suggested Courses

738 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