I am constructing an ASP application that will allow users to pull data from a specific date range in an access database. I am using the following SQL Query:
adorecord.open "select * from apsqa",adoconn
adorecord.filter= "s2>= #" & std & "# AND s2<= #" & edd & "#"
std = the beginning date
edd = ending date
s2 is the date field in the database table
Both edd and stm are DIM'ed as date
When I run this query, It return ALL dates, even those that lie outside the range....Any suggestions?
Dan
adorecord.open "select * from apsqa",adoconn
adorecord.filter= "s2>= #" & std & "# AND s2<= #" & edd & "#"
std = the beginning date
edd = ending date
s2 is the date field in the database table
Both edd and stm are DIM'ed as date
When I run this query, It return ALL dates, even those that lie outside the range....Any suggestions?
Dan