G
Guest
I have a database that is being used for monthly evaluations for the boys in
our program. I need to be able to put the averages from the current month and
from the previous month. I am currently getting these numebers from two
queries. The first query calculates the current months evaluations. The month
and year are entered by the user to pull the report. The dates are pulled by
two date part fields: month and year. The second query takes the month and
subtracts 1 to get the previous months score. This has worked great until
this month.
How can I get it to recognize that 1 is the beginning of the year and 12 is
the end? From what I understand, I should be using a date add function
instead of the date part function. I don't understand how this works. Please
help.
our program. I need to be able to put the averages from the current month and
from the previous month. I am currently getting these numebers from two
queries. The first query calculates the current months evaluations. The month
and year are entered by the user to pull the report. The dates are pulled by
two date part fields: month and year. The second query takes the month and
subtracts 1 to get the previous months score. This has worked great until
this month.
How can I get it to recognize that 1 is the beginning of the year and 12 is
the end? From what I understand, I should be using a date add function
instead of the date part function. I don't understand how this works. Please
help.