Conditional Format Column 2

access2010

Registered User.
Local time
Today, 06:15
Joined
Dec 26, 2009
Messages
1,166
Could I please receive a suggestion on how to Conditional Format the field = Trd_Action =

If the field = Explanation = Contains the word = Closed = the back ground colour would be = Green

If the field = Explanation = Contains the word = Open = the back ground colour would be = Pink

Your assistance will be appreciated.

Nicole
 

Attachments

use the instr function as conditional formatting of your trd_action control

expression is.................instr([explanation],"closed")>0

or you can try like

expression is.................[explanation] like "*closed*"
 
on design view of your form, click on Trd_Action textbox.
on access ribbon->Format->Conditional format (see the CF i made).
 
Thank you for your note, arnelgp, can you please advise me where to find your = CF = file?

Crystal
 
Thank you, arnelgp for your CF (Conditional Formating) link, but it does not have any reference that I can find for using a second column to change the CF back ground colour.
If you can point me to this condition as shown in our attached database, we would appreciate it.
Column one is visible
Column two is the conditional colour control.

Thank you, Crystal
 
here is a snapshot
snap2.png
 
for clarity, column numbers start from 0, so you are actually referencing column 1
 
Thank you, arnelgp for your suggestion.

1609725566370.png


We have received this= Error message
You can use the is operator in an expression with Null or Not Null

I forgot to mention that we are using Access 2003 and will be upgrading later this year.

Thank you.
Nicole
 

Users who are viewing this thread

Back
Top Bottom