Conditional Formatting Negative & Positive Numbers (1 Viewer)

access2010

Registered User.
Local time
Yesterday, 23:32
Joined
Dec 26, 2009
Messages
1,021
Could I please receive assistance on why we cannot conditionally format some field in the attached 2003 Access Data Base?

Your suggestions will be appreciated.

Nicole
 

Attachments

  • Colour_Formating=22=088.mdb
    328 KB · Views: 191

MajP

You've got your good things, and you've got mine.
Local time
Today, 02:32
Joined
May 21, 2018
Messages
8,527
If you are trying to format those labels to the left, you have to convert to a textbox. Instead of a caption your set the controlsource to something like ="Some Label". Lock it too.
 

access2010

Registered User.
Local time
Yesterday, 23:32
Joined
Dec 26, 2009
Messages
1,021
Hello, Majp and thank you for your note.
All the fields are Text field except one that is a Currency field.
What do you suggest we should do to obtain conditional formating?

Thank you
Nicole
 

CJ_London

Super Moderator
Staff member
Local time
Today, 07:32
Joined
Feb 19, 2013
Messages
16,610
If you just want to change the font colour depending on sign, you can use the format property e.g.

0.00;[red]0.00
 
Last edited:

access2010

Registered User.
Local time
Yesterday, 23:32
Joined
Dec 26, 2009
Messages
1,021
Thank you for your note, CJ.
My boss would like to see a background colour in the field,
if a positive number Green
if a negative number Pink

Thank you.
Crystal
 

CJ_London

Super Moderator
Staff member
Local time
Today, 07:32
Joined
Feb 19, 2013
Messages
16,610
no problem. use conditional formatting.

set the control back colour to green and use conditional formatting to change to pink when the number is negative - something like

field value is...... less than......0

for other controls which have conditional formatting based on the same field

expression is....[fieldname]<0
 

arnelgp

..forever waiting... waiting for jellybean!
Local time
Today, 14:32
Joined
May 7, 2009
Messages
19,241
check the conditional format if this is what you meant.
 

Attachments

  • Colour_Formating=22=088.mdb
    480 KB · Views: 205

Users who are viewing this thread

Top Bottom