Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Access query issue

Status
Not open for further replies.

shaunashavena

Technical User
Joined
Jul 20, 2007
Messages
1
Location
JM
I want to do a query to return all records that was processed within a specific month. The user will input the date and this date must be compared with those in the process field to return only those within that given month.

I need guidance how to get this done please.
 
typed, untested:

using parameters (not recommended - you should really create a form that the user selects from)

Code:
SELECT * from SomeTable WHERE Month(SomeDateField) = Month([Please enter the date to search (mm/dd/yyyy)])

Leslie

Have you met Hardy Heron?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top