Conditional Formatting

G

Guest

Hi,

I am trying to find out if this is possible to do. I have a text field
called Price in my Main form and a text field called Cost in a subform. I
want the Price field in the Main form to turn a different color when the
field is LESS than the Cost field in the subform. Can this be handled in the
conditional formatting setting or by code?

Thanks for any input.
Bruce D.
 
S

Steve Schapel

Bruce,

Yes, I think this should work ok. Use Conditional Formatting for the
Price control on the main form, and put the equivalent of...
Exprression is ... [Price]<[NameOfSubformControl]![Cost]
 

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

Similar Threads

Too much conditional formatting? 1
Conditional Formatting 1
conditional formatting inconsistent 1
Conditional Formatting 2
Conditional Formatting 7
conditional formating problem 1
Docmd: GoToControl 4
Autofill 1

Top