?
Solved

Format Crystal Report Fields

Posted on 2011-02-15
6
Medium Priority
?
515 Views
Last Modified: 2012-05-11
Hello Experts, need help to make a generic format for all the crystal report's fields to show chr(32) when the value is chr(34)- I know It can be done to each field - question is can it be done to all of them with one format command.
0
Comment
Question by:Hagita
  • 3
  • 2
6 Comments
 
LVL 35

Expert Comment

by:James0628
ID: 34894716
You want to replace all double-quotes with a space?  I think you'll have to do that using a formula for each field.  I don't think there's any other way to do that in CR.

 James
0
 

Author Comment

by:Hagita
ID: 34894894
Meaning I will need to add a formula field to each field ?
0
 
LVL 35

Assisted Solution

by:James0628
James0628 earned 140 total points
ID: 34895003
That would probably be the most straightforward way.  Something like:

Replace ({field1}, '"', ' ')


 But maybe someone else will have another suggestion.

 James
0
Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

 
LVL 101

Accepted Solution

by:
mlmcc earned 360 total points
ID: 34900156
Try this idea.  It should work so long all the fields are the some type like string
Select all the fields
Right click one of them
Click FORMAT OBJECTS
Click the FORMULA BUTTON to the right of DISPLAY STRING
Replace (CurrentFieldValue,chr(34), chr(32))

mlmcc
0
 

Author Comment

by:Hagita
ID: 34904236
Great help mlmcc! Thank you both I learn alot since I have subscribed this web site.
Hagit
0
 
LVL 35

Expert Comment

by:James0628
ID: 34914526
Good idea mlmcc.  I think the format idea crossed my mind, but I hadn't thought about formatting multiple fields at once, so I didn't see any real benefit.  That could really simplify things.

 And you're welcome Hagita.

 James
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

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. …
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…
this video summaries big data hadoop online training demo (http://onlineitguru.com/big-data-hadoop-online-training-placement.html) , and covers basics in big data hadoop .
Screencast - Getting to Know the Pipeline
Suggested Courses

579 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