OBDC 64 bit vs 32 wont work.

shophoney

Active Member
Joined
Jun 16, 2014
Messages
281
Hi I've spoken to Microsoft about this issue for months now. It seems that they are saying there is a bug in Excel for several versions.

We have a retail management system using SQL and use Access to run QRY. We now use power pivot and pull the SQL statement. But when you use 64bit office and OBDC connection it wont work. We have tried it on many systems and confirmed with Microsoft that it is a bug they know of but have not solution.

Our problem is our DB and XLS files are so large they require 8gb of ram or more. But 32bit office only uses 3.2GB.

What can we do?

Do anyone have suggestions on reducing the file size of excel. Some are only 320mb but I guess when it runs it uses more overhead as it says that we need 64bit and more memory...

HELP Please

Would it improve things if I used less tables and more querys or combined many QRY to one large one, in powerpivot?
 

Excel Facts

When they said...
When they said you are going to "Excel at life", they meant you "will be doing Excel your whole life".
I ran into basically the same problem some years ago when I was using Access to run queries on our SQL database and then pulled the results of the Access queries into Excel. As the company's database grew each year I experienced slowdowns in the speed of refreshing data in Excel and some Excel files exceeded the 1 million row limit. My eventual solution to both was to eliminate Access entirely, and rewrite the queries directly in SQL as "views" and "stored procedures". Then data was pulled into Excel directly from SQL. I also added more parameters within Excel to further limit records, such as only the past couple years, or only records related to a particular customer, or whatever the user was realistically looking at. It was fairly timeconsuming re-writing everything but well worth it in my case. If you can write queries in Access, you'll be able to figure out how to write them in SQL. Microsoft SQL Management Studio has a "query builder" to help with much of it.

By the way, I originally tried to modify the queries in Access to limit records being pulled from SQL and while it worked in a lot of cases, there were a good number of key Excel reports where it didn't work or only marginally helped. I'm not a programmer by trade and all the programmers I spoke with about this problem advised me to learn how to write the queries directly in SQL and eliminate Access.
 
Upvote 0
Cross-posted here: ODBC - 32 vs 64 Bit Problem

While we do not prohibit Cross-Posting on this site, we do ask that you please mention you are doing so and provide links in each of the threads pointing to the other thread (see rule #10 here: Forum Rules).

This way, other members can see what has already been done in regards to a question, and do not spend time working on a question that may already be answered.

For a more complete explanation on cross-posting, see here: Excelguru Help Site - A message to forum cross posters).
 
Last edited:
Upvote 0

Forum statistics

Threads
1,215,268
Messages
6,123,966
Members
449,137
Latest member
yeti1016

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top