Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1044
  • Last Modified:

How to make a negative value red

I woul like to make a currency field RED (colour) if it has a negative value
How do I achieve this?
Gordon
0
GiaHughes
Asked:
GiaHughes
1 Solution
 
dsackerContract ERP Admin/ConsultantCommented:
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
 
GiaHughesAuthor Commented:
Works great
0

Featured Post

[Webinar On Demand] Database Backup and Recovery

Does your company store data on premises, off site, in the cloud, or a combination of these? If you answered “yes”, you need a data backup recovery plan that fits each and every platform. Watch now as as Percona teaches us how to build agile data backup recovery plan.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now