Need help w/conditional format of text box on form

J

John

Hi - Although I have looked through several conditional formating
posts, I have not seen any that have helped with this problem. I have
a continuous form that shows Index, txtA and txtB for several Index
values. On each row, I want to set the background of txtB to grey if
it does not equal txtA. Thanks for any help.
 
F

Fredg

I'm assuming you have Conditional Formatting on your version of Access.
Click on the txtB control.
Click Format + Conditional Formatting
Set the Condition 1 drop-down box to:
Expression Is
In the Text box alongside this drop-down, write:
[txtB] <> [txtA]
Select the color, etc. for this condition.
Exit.
 
J

John

Thanks, this worked. I thought I had tried this previously, but I
must have not had it exactly correct.

-- John

Fredg said:
I'm assuming you have Conditional Formatting on your version of Access.
Click on the txtB control.
Click Format + Conditional Formatting
Set the Condition 1 drop-down box to:
Expression Is
In the Text box alongside this drop-down, write:
[txtB] <> [txtA]
Select the color, etc. for this condition.
Exit.

--
Fred

Please reply only to this newsgroup.
I do not reply to personal e-mail.


John said:
Hi - Although I have looked through several conditional formating
posts, I have not seen any that have helped with this problem. I have
a continuous form that shows Index, txtA and txtB for several Index
values. On each row, I want to set the background of txtB to grey if
it does not equal txtA. Thanks for any help.
 

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