Changing Colors on Continuous Form

C

Cathy

I'm using Access 2007 and would like to compare two fields and change their
back color if they are not equal. The equation I need to use is
Left(field1,3) <> Left(field2,3). I don't believe this is something I can do
with Conditional Formatting, so how would I do this?
 
M

Marshall Barton

Cathy said:
I'm using Access 2007 and would like to compare two fields and change their
back color if they are not equal. The equation I need to use is
Left(field1,3) <> Left(field2,3). I don't believe this is something I can do
with Conditional Formatting, so how would I do this?


CF can do that, but you need to use the Expression Is:
option. Even then, you (for some unknown reason) have to
enclose the field/control names in [ ]

Left([field1],3) <> Left([field2],3)
 
C

Cathy

You are awesome! It works perfectly!

Thank you very much.

Cathy

Marshall Barton said:
Cathy said:
I'm using Access 2007 and would like to compare two fields and change their
back color if they are not equal. The equation I need to use is
Left(field1,3) <> Left(field2,3). I don't believe this is something I can do
with Conditional Formatting, so how would I do this?


CF can do that, but you need to use the Expression Is:
option. Even then, you (for some unknown reason) have to
enclose the field/control names in [ ]

Left([field1],3) <> Left([field2],3)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top