S
SM
Hi,
I have a table called tblPlan with four fields: Title (string), Milestone
(string), DueDate (date), Complete (boolean).
I want to run a query that will tell me for each Title how many Milestones
are Overdue (ie. DueDate < Today and Complete = False), AND for each Title
how many Milestones are Due in 7 Days (ie. DueDate >=Today and DueDate <
Today+8 and Complete = False). I'm also going to go a little further (ie.
due in 8 to 30 days, and due in over 30 days), but if I can get the basic
idea to work, adding the rest of the conditions should be straightforward!
I can accomplish this using multiple queries and tying them together in a
union query at the end, but this seems a little more complicated than it
should be. Can this be done in a single query?
Thanks for any help!
Sean
I have a table called tblPlan with four fields: Title (string), Milestone
(string), DueDate (date), Complete (boolean).
I want to run a query that will tell me for each Title how many Milestones
are Overdue (ie. DueDate < Today and Complete = False), AND for each Title
how many Milestones are Due in 7 Days (ie. DueDate >=Today and DueDate <
Today+8 and Complete = False). I'm also going to go a little further (ie.
due in 8 to 30 days, and due in over 30 days), but if I can get the basic
idea to work, adding the rest of the conditions should be straightforward!
I can accomplish this using multiple queries and tying them together in a
union query at the end, but this seems a little more complicated than it
should be. Can this be done in a single query?
Thanks for any help!
Sean