Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Format Crystal Report Fields

Posted on 2011-02-15
6
Medium Priority
?
513 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
[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
  • 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
New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

 
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

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

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…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …

609 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