C
Cameron
In my report I am totaling sales by each year. I do this by using a text box
for each year with this: =DCount("SalesDate","Sales","SalesDate>=#1/1/2009#
And SalesDate<#1/1/2010#") This gives me a sum of sales for 2009. I have a
text box for each of the last 5 years.
Is there a better way to do this?
Is there a way I can use a function like DatePart to use just the year 2009
instead of having to use the >= and < operators?
for each year with this: =DCount("SalesDate","Sales","SalesDate>=#1/1/2009#
And SalesDate<#1/1/2010#") This gives me a sum of sales for 2009. I have a
text box for each of the last 5 years.
Is there a better way to do this?
Is there a way I can use a function like DatePart to use just the year 2009
instead of having to use the >= and < operators?