Issue in conditional formatting

J

Jess

I have a textbox (textbox1) on a continuous form with conditional formatting.

There are just two conditions:

Condition1 sets textbox1 font color to blue when it gets the focus.
Condition2 sets textbox1 font color to red when other control (textbox2) in
this form reads true –textbox2 can read "true" or "false".

Condition1 works great all the time. However, condition2 does not work
unless I take out condition1. When textbox1 gets the focus and textbox2 reads
“trueâ€, textbox1 font color sets itself to blue –correct behavior. However,
when textbox1 does not have the focus and textbox2 reads “falseâ€, textbox1
font color sets itself to blue. This is not the intended behavior since
textbox1 font color should be red. As previously stated, condition2 works if
I delete condition1.

What am I missing here?

Thanks in advance
 
D

David H

I would use the control's onGotFocus and onLostFocus events to alter the
color of the controls. Otherwise, please post the expressions that you're
using.
 

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