Date restrictor for the current year.

C

ChuckW

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,
 
V

Van T. Dinh

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)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top