Hi Chey
Two methods:
1. Set the ForeColor of your textbox to green, then go to Format>Conditional
formatting...
Under "Condition 1" select "Expression Is" from the dropdown and in the
box type:
[Closed1]=-1
Then set the font colour to red.
2. Assuming Closed1 is a yes/no field, you can do it with a simple format.
Just set the ControlSource of your textbox to Closed1 and set the Format to:
;[Red]"Closed";[Green]"Open"
You probably also want to set Enabled to No and Locked to Yes.
--
Good Luck!
Graham Mandeno [Access MVP]
Auckland, New Zealand
Chey said:
I have an iif statement
=IIf([Closed1]=-1,"Closed","Open")
If closed appears I want it to be red
If open appears I want it to be green
How can I do this