Date restrictor for the current year.

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,

I want to do a date restrictor for this year (i.e. the current year). But I
dont want to do between 1/1/05 and 12/31/05. I want to have it so that it
rolls over and can apply to next year as well. I know how to do the current
month which is Between DateSerial(Year(Date()),Month(Date()),1) And Date().
But I don't know how to do the current year. Can anyone help?

Thanks,
 
If you meant current Year to date, i.e. the same as your "current month"
then try:

Between DateSerial(Year(Date()), 1, 1) And Date()

HTH
Van T. Dinh
MVP (Access)
 
Back
Top