D
Dragon
Hi,
I am trying to create a query which performs some date calculations and
pulls records based on the calculation. I think it will be simpler to
explain with an example;
Data:
Task Date # of Days
Task1 Jan 01, 1980 16
Task 2 Dec 25, 2007 14
Task 3 Jan 05, 2009 20
Task 4 Jan 25, 2010 5
Task 5 Apr 09, 1995 15
If today is December 24, 2008, Query I am trying to write will display the
fir three records from this data. Essentially calculate the date/month to
see if the date/month are within the (# of Days) period from today. You can
say it is similar to figuring our if your birthday is coming up with x
number of days.
If the date is in the past, it will act as it telling you if your birthday
is coming up within x number of days. If the date is in future, it will act
as if it is a reminder for that date if that date is within x number of
days.
thanks.
Thank you.
I am trying to create a query which performs some date calculations and
pulls records based on the calculation. I think it will be simpler to
explain with an example;
Data:
Task Date # of Days
Task1 Jan 01, 1980 16
Task 2 Dec 25, 2007 14
Task 3 Jan 05, 2009 20
Task 4 Jan 25, 2010 5
Task 5 Apr 09, 1995 15
If today is December 24, 2008, Query I am trying to write will display the
fir three records from this data. Essentially calculate the date/month to
see if the date/month are within the (# of Days) period from today. You can
say it is similar to figuring our if your birthday is coming up with x
number of days.
If the date is in the past, it will act as it telling you if your birthday
is coming up within x number of days. If the date is in future, it will act
as if it is a reminder for that date if that date is within x number of
days.
thanks.
Thank you.