Solved

Crystal Reports  2008 Formula to Change Field Format

Posted on 2010-11-10
4
475 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
[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
  • 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 500 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

Enroll in July's Course of the Month

July's Course of the Month is now available! Enroll to learn HTML5 and prepare for certification. It's free for Premium Members, Team Accounts, and Qualified Experts.

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…
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …

623 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