ODBC Problem with Office 2010

I have an Access Database with several queries created specifically for use within Excel.  I created ODBC connections within Excel 2007 to grab a specific query and populate the spreadsheet.  The import is configured to just put in the values and allow Excel to format everything.  The data changes often, so the refresh happens manually.

I started the database/spreadsheet/odbc in Windows XP and Office 2003.  It was working fine.  I upgraded to Windows 7 (skipped Vista) and Office 2007 and it continued to work fine.  I updated both the database and the spreadsheets to the newer formats without issue.  It continued to work properly until I upgraded to Office 2010.

Now, When I go into any of the spreadsheets and run REFRESH ALL from the Data ribbon, the spreadsheet will update the DATE and COMMENT fields but not the TIME fields.  Those fields in Excel have no values in them at all.  I tried recreating the ODBC link and the preview shows the data but the spreadsheet will not import it.  The fields with Excel are configured properly, because if I manually type in a time it will show properly.  There are no errors generated within Access or Excel when I run the refresh, so it's not FAILING to run just not putting the data in any TIME field.

Has anyone else run into this?  Any fix?  I hope I've described it enough.  Thanks.


Hi,

 

I suggest checking the following settings in Excel 2010:

================

1.       Click File > Options > Trust Center > File block settings.

2.       Make sure the following settings are not checked:

Microsoft Office Query files

Office Data Connections files

Other Data Source files

 

Please take your time to try the suggestions and let me know the results at your earliest convenience. If anything is unclear or if there is anything I can do for you, please feel free to let me know.

 

Best Regards,

 

Sally Tang



--------------------

Sally,

    Thank you for the suggestion.  I checked and all three items currently do not have checkmarks.  I would think that these options would block ALL data from coming in and not just the time fields.  I never get a message letting me know that there is a security risk or anything.  No message at all.  Just no data in those fields.   :(

   BTW, one of the fields that DOES come in properly is a DATE field, so it's not a problem with the DATA (date and time come from the same 'TYPE' of data) but merely when the field is formatted to parse the TIME.  I currently have all of the failing fields set like "23:00" (24-hour no AM/PM).

   Also, if I run the same data refresh with the same files on an XP system with Office 2007 (the only other system I have for testing this issue), the entire process continues to work properly, with the TIME fields updating as expected.  Thanks for the help.

Michael



I have exactly this same problem in Excel 2010, but not in 2007. Did you ever get this resolved?  It's driving me nuts since i use the TIME field every day.



I have the same problem as well.  Using an ODBC link from one spreadsheet to another.  Works fine in 2003 and 2007 but in 2010 the time data comes through as 0.00.  All other data, including dates, comes through OK.  Given that (in Excel, at least) time is just a number, formatted to look like a time, I tried changing the display format for the relevant column of my source file so the times looked like ordinary numbers.   The ODBC now works!  It's looking very much like a bug.  Interesting the moderator (Sally Tang) who responded above hasn't come back to you, despite the recommendations not solving the problem.  My method is not very statisfactory, but may be a workable solution.


Did you ever get an answer for your question? I have Access 2010 but when I try to make an ODBC link the only choices I have are SQL Server? How do I get to be able to have Access mdb as a choice?


Hi All

I have the same issue here and I'm going though it with MS Support of another thread, but with ODBC Drivers are you using as I've tried MSSQL 2008 Driver and MySQL 5.1 Driver and these pull in the TIME field correctly, but the IBM Universe ODBC Driver pulls the TIME's in a 00:00:00.

Thanks

Nigel




Hello all,

I'm experiencing the same issue when extracting TIME data with the IBM Universe ODBC drivers from Excel 2010.

I don't believe this is an issue with the actual ODBC driver itself as I have performed the same query with the Microsoft Query tool and all of the TIME values appear correctly.

Performing the same query from Excel 2003 on the same machine also works perfectly, so it is isolated to Excel 2010.

Has anyone had any luck with this?

Thanks,

Nick.


Had same issues. I found that the OS was 64bit windows 7 and access was installed as 64 bit. Had many issues with 64 bit access. So uninstalled 64 bit version and installed 32 bit version.  You may want to check your bit version of MySLQ connector.

 

I am now having issues with the ODBC connection being used for multiple users. The ODBC connection fails even if the setting are correct in the ODBC.


64位系统安装ODBC驱动的方法 标签: C#64位系统安装ODBC驱动的方法 2013-04-22 09:24 17085人阅读 评论(2) 收藏 举报 分类: C#(25) 为了更充分的利用硬件资源,我想很多人都开使用64位操作系统了,同时你可以也发现了在64位操作系统上ODBC的驱动找不到了,所以ODBC的东西都没法用了。 因为2007以前版本的Office只有32位版本,所以我们不能在64位系统上使用ODBC。使用Autodesk 64位产品的用户,包括64位的MapGuide Enterpr和 Map3D,肯定也正为这个问题深感苦恼。一个好消息是Office 2010 有了64位版本,同时微软也发布了64为的ODBC驱动程序,这个驱动可以从下面的地址下载: http://www.microsoft.com/downloads/details.aspx?familyid=C06B8369-60DD-4B64-A44B-84B371EDE16D&displaylang=en 多少情况下我们的机器上可能都已经安装了Office 2007等32位的Office,下载AccessDatabaseEngine_X64.exe安装时多半会碰到下面的错误信息,从而无法继续。 clip_image002 莫非我真的只有升级到Office 2010 64位版一条路可以走了么?可是貌似微软都建议我们用32位的而不是64位的,我可不想就为这一个ODBC去升级惹麻烦。下面是Microsoft关于是用Office 32还是64的回答。 Yes, 64-bit Office 2010 product upgrades will be available. However we strongly recommend most users install 32-bit version of Office 2010 on both 32 and 64-bit Operating Systems because currently many common add-ins for Office will not function in the 64-bit edition. The 64-bit installation of Microsoft Office 2010 products will be available for users who commonly use verylarge documents or data set and need Excel 2010 programs to access greater than 2GB of memory. There may be technical issues with the 64-bit version and in order to install a 64-bit version of Office 2010 product users must have a 64-bit supported operating system on their PC. http://office2010.microsoft.com/en-us/tech-guarantee/microsoft-office-2010-technology-guarantee-faq-HA101812304.aspx?redir=0 所以应该找个办法能在安装了32位Office的机器上安装这个64位的ODBC驱动。下面是更改方法: 先用7zip把AccessDatabaseEngine_X64.exe接压缩,里面会有一个AceRedist.msi安装文件,然后用Orca(下载地址http://www.technipages.com/wp-content/uploads/2007/11/orca.Msi)打开这个MSI,找到LaunchCondition里面的BLOCKINSTALLATION,删掉,保存。现在在运行AceRedist.msi,哈哈,非常顺利。经过我的测试,使用上也完全没问题。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值