retrieving date field from access database using query
posted 9 years ago
Hi all, Am unable to retrieve the users information according to the datewise through the query from access database. The datefield datatype is declared as 'shortdate'. The error is showing as "datetype mismatch criteria". eg: select name,ddate,department from tablename where ddate between '2006-12-01' and '2006-12-31'; I tried in all date formats like mm/dd/yyyy,dd/mm/yyyy and so on.