Solved

Crystal Reports  2008 Formula to Change Field Format

Posted on 2010-11-10
4
472 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 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: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

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

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…
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…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

820 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