Search to exclude date range

A

Adam R

im using access 2k and asp

and im running a simple ASP Recordset SQL statement :

SELECT *
FROM virooms
WHERE dtdatefrom<=#date1# AND dtdateto>=#date2#

on the dbase : http://ceaseanddesist.chunkafunk.co.uk/23c_hot_bk.mdb

yet it returns nothing even when using US style dates, i also tried running
this as a query in the database with the same results


Ive trawled the net for answers and cant find anything so i presume its
something obvious im
missing ?
 
A

Adam R

yes

needs 2 diffrent dates as its checking wether there is someone in the room
between those dates
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top