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 biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

query between two dates 1

Status
Not open for further replies.

slybitz

Technical User
Mar 25, 2005
113
US
I have a table that has a three dates columns: one for the day, one for the month, and one for the year. I'm trying to pull data from this table in a query but between two certain dates (4/1/2004 and 3/1/2004). How can I go about doing this?

Thanks!
 
I'm sorry correction: there are only two fields: month and year. There is no day field.
 
A starting point:
WHERE DateSerial([Year field],[Month field],1) Between #2004-03-01# And #2004-04-01#

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
PHV - Thank you so much. Worked perfectly!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top