Solved

How to make a negative value red

Posted on 2014-11-28
2
747 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

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

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…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

809 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