Solved

SQL 2008 date data type ODBC link to Access 2007 changes to text data type

Posted on 2010-08-23
4
480 Views
Last Modified: 2012-06-21
I have a SQL 2008 table that has a date data type.  When connection to Access 2007 via ODBC connection, Access thinks the data type is text.  Is there a patch or fix for this problem?
Thanks for your help.
0
Comment
Question by:CRI906
  • 3
4 Comments
 
LVL 4

Accepted Solution

by:
grogman earned 500 total points
ID: 33501887
From what I have seen, Access 2007 doesn't recognize SQL 2008's DATE data type. One option that should work is to change your SQL column's data type to SMALLDATETIME, which Access 2007 should have no problem recognizing.
0
 

Author Comment

by:CRI906
ID: 33502074
We do not want the "time" part of the SMALLDATETIME data field.  Do you know if there is a patch or hot fix for this problem?
0
 

Author Comment

by:CRI906
ID: 33502248
Found a solution for this problem.  My ODBC connection was using SQL Server driver.  I deleted the ODBC Connection and setup a new connection using SQL Server Native Client 10.0.  Deleted the linked tables and re-linked.  Now the Access knows the new data type "DATE" is a date.  Thanks for your help.
0
 

Author Closing Comment

by:CRI906
ID: 33502309
This solution would be good if you don't mind adding the time to the date.  My solution worked best for what we needed.  Thanks for the help.
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

How to leverage one TLS certificate to encrypt Microsoft SQL traffic and Remote Desktop Services, versus creating multiple tickets for the same server.
In this article we will get to know that how can we recover deleted data if it happens accidently. We really can recover deleted rows if we know the time when data is deleted by using the transaction log.
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

820 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question