Need query of all records based on month

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

Guest

How can i create a parameter query in the query grid to ask for all records
based on the month. example: i want all records for May 2007. any ideas?
 
How can i create a parameter query in the query grid to ask for all records
based on the month. example: i want all records for May 2007. any ideas?
say you have a date column in your table

Field: DatePart("m",[Orders].[OrderDate])
Criteria: DatePart("m",[Enter date:])
 
How can i create a parameter query in the query grid to ask for all records
based on the month. example: i want all records for May 2007. any ideas?
Oops. Should be

Field: DateDiff("m",0,[Orders].[OrderDate])
Criteria: DateDiff("m",0,[Enter date:])
 

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

Back
Top