The date picke in Access 2013 is not working with linked sql table

ji052866
ji052866 used Ask the Experts™
on
When Access 2013 tables linked to SQL database server, the Access form with date picker stop working, would you help !
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Owner, Dev-Soln LLC
Most Valuable Expert 2014
Top Expert 2010
Commented:
What driver are you using to link to the SQL tables.

If you are using the basic "SQL Server" driver, it will not recognize most of the SQL Server date/time datatypes and will see them as strings.  You should determine what version of SQL Server you are using and the find the "SQL Server Native Client XX.X" driver that is appropriate for that version of SQL Server.

HTH
Dale
Distinguished Expert 2017
Commented:
Sounds like Access thinks the date field is text.  Check the definition on the SQL Server table to make sure that it is DateTime rather than DateTime(2) or something else.

The  ODBC driver that ships with Access dates back to SQL Server 2005 or possibly even earlier and Access cannot "see" newer data types so renders them as text.  This will cause more problems than just the date picker so you need to fix this.

1. Change the datatype to DateTime if possible.
2. Otherwise, you will need to locate and install a newer ODBC driver for yourself AND ALL YOUR USERS.

Author

Commented:
Thanks Dale and Pat for helpful solution !

I have change used SQL Server Native Client XXX driver, it's working !!!

June
Distinguished Expert 2017

Commented:
Technically Dale posted first and we posted essentially the same answer.  I had written the post but forgot to submit and just hit submit when I got back to my desk.  So please, no participation points for me.
Dale FyeOwner, Dev-Soln LLC
Most Valuable Expert 2014
Top Expert 2010

Commented:
User abandoned question after indicating that the driver solutions posted by Dale and Pat worked.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial