Solved

Format Crystal Report Fields

Posted on 2011-02-15
6
505 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
ScreenConnect 6.0 Free Trial

At ScreenConnect, partner feedback doesn't fall on deaf ears. We collected partner suggestions off of their virtual wish list and transformed them into one game-changing release: ScreenConnect 6.0. Explore all of the extras and enhancements for yourself!

 
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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

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…
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…
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

772 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