|
Question : Access 2003 between date query - want to select the date also typed in
|
|
I have an Acces 2003 db. In this db I use a query to select certain records. I use this criters Between [first date] and [second date] What i have now noticed is that if I choose the dates 1-1-07 and 1-31-07 I get all the dates beteen those dates but not those dates themselves. Is there a way to also have 1-1-07 and 1-31-07 show up in the results. I know I could put 12-31-06 and 2-1-07 but it would be nice just to put in the 1-1-07 and 1-31-07
Thanks! for any input
|
|
Answer : Access 2003 between date query - want to select the date also typed in
|
|
try this
SELECT tbl_Visit.dateEntered FROM tbl_Visit WHERE tbl_Visit.dateEntered >= [First Date] and tbl_Visit.dateEntered < dateadd("d",1,[Second Date])
|
|
|