Per SAC:
I have a continuos form that has date ordered and date shipped on it. If
the no fo days between the two controls is > X then I'd like a thrid control
to have red background.
All records on that column change rather than just the ones that meet the
criteria.
How can I change this?
I'm only on Access 2000 with a little time on 2003 and can't think of a way
unless you substitute one of the many hierarchical lists or grids for the form.
OTOH, you could add a field to the form that's dedicated to changing colors
depending on the status of that line. The field's .RecordSource would be a
numeric in the underlying table and it's .Format would be something like
"nnnn"[Green];"nnnn"[Black];[White];[White]
Check out Help|Format Property - Number and Currency Data Types for an
explanation of the syntax.
You *might* even get your desired result by making that field occupy the entire
line behind all the other fields, making all the other fields transparent, and
figuring out some Font/Character Value combo that filled the field with color
without showing anything else. Dunno...never tried that particular twist...