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

Access date syntax for pass-thru queries syntax help needed????

Status
Not open for further replies.

lwanalyst

Technical User
Jul 8, 2002
28
US
I am writing a pass-thru query in MS Access and I am trying to tell it to give me data between 01/01/2001 and 06/30/2001, but it bombs when I use between. What is the correct syntax to use in this case?
 
The problem could be that SQL doesn't recognize the "#" sign...

Your criteria should look like this:

BETWEEN '1/1/2001' AND '6/30/2001'

Post again if this doesn't help...

ejc
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top