change data color based on field in table

E

Eugene

Let me explain, I have 2 tables on with transaction records and one with
users. The users contains id,first,last,yorn. this table is part of the
transaction record. What I want to do is if the yorn field is no, then the
dropdorn of the user name on the transaction for will be red, indicating not
to give an assignment to that user.

Can this be done relatively easily?

Thank you in advance.
 
M

Marshall Barton

Eugene said:
Let me explain, I have 2 tables on with transaction records and one with
users. The users contains id,first,last,yorn. this table is part of the
transaction record. What I want to do is if the yorn field is no, then the
dropdorn of the user name on the transaction for will be red, indicating not
to give an assignment to that user.


You can use Condidtional Formatting on the name text boxes.

With the form open in design view, select the text box.
Then use the Format - Confitional Formatting menu item.
Select the Expression Is option in the drop list and then
enter an expression like:
[yorn] = "no"
If yorn is a Yes/No field (not a Text field) then its value
is really either True or False, in which case the expression
could be:
[yorn] =False

Then select the color red in the color picker.
 

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