date field by month in query but want only one year

  • Thread starter Sue R via AccessMonster.com
  • Start date
S

Sue R via AccessMonster.com

I have a query that reads the date field by month and shows the results by
each month for every year. I want it to display only the results from one
year, which is typed in when prompted. I have tried different criteria but
when I run it, I get no results at all so obviously I'm doing something wrong.


any suggestions?

Thank you!
Sue
 
F

fredg

I have a query that reads the date field by month and shows the results by
each month for every year. I want it to display only the results from one
year, which is typed in when prompted. I have tried different criteria but
when I run it, I get no results at all so obviously I'm doing something wrong.

any suggestions?

Thank you!
Sue

Add a new column to the query grid.
ForYear:Format([DateField],"yyyy")
As criteria on the column, write:
[What year?)

When prompted, enter a 4 digit year.
 

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