christrinder
05-14-2003, 04:52 PM
Hello,
I'm trying to include a before and after date function into one of my search pages, but it always returns nothing now. The two form inputs are passing through the values in the format dd/mm/yy and the date stored in the DB is the now() so it looks like dd/mm/yy hh/mm/ss. Am I doing something wrong in my SQL statement below?
...JobRequest.JobDate BETWEEN #"& request.form("Date1") &"# AND #"& request.form("Date2") &"# ...
Thanks,
Chris
I'm trying to include a before and after date function into one of my search pages, but it always returns nothing now. The two form inputs are passing through the values in the format dd/mm/yy and the date stored in the DB is the now() so it looks like dd/mm/yy hh/mm/ss. Am I doing something wrong in my SQL statement below?
...JobRequest.JobDate BETWEEN #"& request.form("Date1") &"# AND #"& request.form("Date2") &"# ...
Thanks,
Chris