Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Crystal Reports  2008 Formula to Change Field Format

Posted on 2010-11-10
4
Medium Priority
?
477 Views
Last Modified: 2012-05-10
I have a report that has a rate amount field. Depending on what the rate type field is will determine whether the field needs to be displayed as a percent or as a decimal. Example if the rate type = CASE then rate amount needs to be a decimal if the rate type = RATE then the rate amount needs to be a percent. Where and how would I do this kind of conditional formatting in crystal?
0
Comment
Question by:kcjstarling
  • 2
  • 2
4 Comments
 
LVL 77

Expert Comment

by:peter57r
ID: 34102037
I would be inclined to use two copies of the field in this case. Format one as percent and the other as decimal.
Use conditional suppression to suppress the one you don't want to see.
0
 

Author Comment

by:kcjstarling
ID: 34102708
But how do I surpress just the feild and not the whole section?
0
 
LVL 77

Accepted Solution

by:
peter57r earned 2000 total points
ID: 34102940
Right click the field and choose Format field.
On the Common tab click the X+2 button for the Suppress option.

Add your rule here.

(Do the opposite rule for the other copy of the field)
0
 

Author Closing Comment

by:kcjstarling
ID: 34103198
Thanks
0

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

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…
Video by: ITPro.TV
In this episode Don builds upon the troubleshooting techniques by demonstrating how to properly monitor a vSphere deployment to detect problems before they occur. He begins the show using tools found within the vSphere suite as ends the show demonst…
Loops Section Overview
Suggested Courses

927 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