Forum Moderators: open
I have an ASP page that refers to an Access database. Problem I am having is that, I want to access certain records that has not expired. There is a date field within the database called 'expiry'. My SQL statement looks like this:
strSQL = "SELECT * from specials WHERE expiry >" & date() & ";"
When run, it displays all records, even those that are supposed to expire earlier than todays date. Is there a trick to this that I am not seeing?
Thanks for any help
DFrag