Solved

Crystal Reports  2008 Formula to Change Field Format

Posted on 2010-11-10
4
473 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering 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…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…
This video shows how to use Hyena, from SystemTools Software, to update 100 user accounts from an external text file. View in 1080p for best video quality.

739 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