I have a SQL Server 2005 DB that I set up an ODBC connection to so
that people can access the data through MS Access. There are 3
tables, each of which have a date column that is a varchar (20)
because the dates do not fall within the required range by SQL
server. The dates are stored in the following format - YYYY-MM-DD.
Two of the three tables can (and do return) the correct results in
ACCESS when you search on that date field. The third table, for some
reason, isn't responding to anything I try and search on. I've
brought up the entire table and attempted to filter on a value in the
date column and it still returns multiple different values in that
column. I've attempted to convert the field to String, Date, Cdate
and many others in Access and haven't had any luck with the results
returning anything correct.
If I go back to the SQL server tables, I can search on all 3 of the
tables using ='YYYY-MM-DD' in the date field and get correct
results.
Has anyone seen anything like this? Any tips on how to fix?