Solved

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

Posted on 2010-08-23
4
444 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

Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

Join & Write a Comment

Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
Entering a date in Microsoft Access can be tricky. A typo can cause month and day to be shuffled, entering the day only causes an error, as does entering, say, day 31 in June. This article shows how an inputmask supported by code can help the user a…
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…

707 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now