?
Solved

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

Posted on 2010-08-23
4
Medium Priority
?
523 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 2000 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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

In this article, we’ll look at how to deploy ProxySQL.
Instead of error trapping or hard-coding for non-updateable fields when using QODBC, let VBA automatically disable them when forms open. This way, users can view but not change the data. Part 1 explained how to use schema tables to do this. Part 2 h…
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…
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …

807 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