Solved

How to make a negative value red

Posted on 2014-11-28
2
643 Views
Last Modified: 2014-11-28
I woul like to make a currency field RED (colour) if it has a negative value
How do I achieve this?
Gordon
0
Comment
Question by:GiaHughes
2 Comments
 
LVL 20

Accepted Solution

by:
dsacker earned 500 total points
ID: 40470491
Here are the steps:
Right-click on the field you with to format with the RED option.
Select Format Field.
Click on the Font tab.
Where the Color drop-down list is, to the right, there is an X-2 button. Click that. The Formula Workshop will open up.
In the Format Editor, enter the following:
If CurrentFieldValue < 0 Then
    crRed
Else
    DefaultAttribute

Open in new window

Save and Close.
This should work for you.
0
 

Author Closing Comment

by:GiaHughes
ID: 40470617
Works great
0

Featured Post

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

There have always been a lot of questions related to when Crystal Reports evaluates report components (such as formulas, summaries, cross-tabs, charts, to name a few examples). Crystal Reports uses a two-pass reporting process to provide greater …
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…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

762 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now