Compare date, when date is today, change other fields

G

Guest

Hi,
I have a task tracking database. When a task is on hold, say for a week, the
fields would be be set up like this...
[Assigned_to] To Be Assigned
[Status] Hold
[Priority] Hold
[Due Date] e.g. a week from today

When the [Assigned_to] field is "To Be Assigned", I need it to compare the
dates so that when the [Due date] = today it will automatically change the
fields to
[Assigned_To] Linda
[Status] Assigned
[Priority] URGENT
[Due Date] to today

Do I need to do a query for this, or can I somehow code the field to perform
this comparison and changes?

Thank you!!
 
G

Guest

You need to use an update query and have criteria for the [Due Date] field
like this --
<=Date()
Have the query run from a macro named Autoexec so that any time the database
is opened it checks. By using <= it checks if past due as the date could
be set for a holiday.
 

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