G
Goopie
Im currently using this:
=DSum("Cost","Stock"," DOD Between #01/07/08# And #31/12/08#")
I'd like to substitute the 08 to obtain the current year, as well as
calculate the year previous, into this expression. In other words I want the
above expression to provide between 01/07/current year and 31/12/current year
as well as the same dates for the previous year.
I want the expression to work for the control source of a txtbox and as a
query expression. That way I don't have to manually update it each year.
Thanks for any help
=DSum("Cost","Stock"," DOD Between #01/07/08# And #31/12/08#")
I'd like to substitute the 08 to obtain the current year, as well as
calculate the year previous, into this expression. In other words I want the
above expression to provide between 01/07/current year and 31/12/current year
as well as the same dates for the previous year.
I want the expression to work for the control source of a txtbox and as a
query expression. That way I don't have to manually update it each year.
Thanks for any help