"Bill" <(E-Mail Removed)> wrote in message
news:F18CED4A-6BEB-4505-9426-(E-Mail Removed)...
>I have a database that tracks calls for service. I want to have a main
> screen which will show all open calls for service and auto refresh. The
> trick is that as it refreshes I want to see a color change for the line
> item.
> Example if the call is new, it can show green. After 7 minutes it turns
> to
> yellow and after 10 minutes it turns to red. How can I use an event timer
> to
> tiger these changes?
If this is a continuous form, you would probably need to use conditional
formatting, rather than attempting to change property values in a timer
event. You'd need to have a field in the record that stores the date/time
the call was opened. I haven't tried this, but given such a field, I think
you could use format expressions such as
DateDiff("n", [TimeOpened], Now()) >= 7
DateDiff("n", [TimeOpened], Now()) >= 10
--
Dirk Goldgar, MS Access MVP
www.datagnostics.com
(please reply to the newsgroup)