Solved

Format Crystal Report Fields

Posted on 2011-02-15
6
506 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 34

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 34

Assisted Solution

by:James0628
James0628 earned 35 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
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

 
LVL 100

Accepted Solution

by:
mlmcc earned 90 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 34

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

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

Suggested Solutions

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…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

840 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