Solved

Format Crystal Report Fields

Posted on 2011-02-15
6
507 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 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
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.

 
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 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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

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…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

730 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