Solved

How do you change ODBC Microsoft Access Driver

Posted on 2014-04-04
14
577 Views
Last Modified: 2014-04-14
The ODBC Microsoft Access Driver is pointing to abc.mdb.

I need to change it to point to abc.accdb.

How do you do this ?

Access 2007 on W7 PC.
0
Comment
Question by:thayduck
  • 8
  • 6
14 Comments
 
LVL 15

Expert Comment

by:jerseysam
ID: 39977994
Run the file odbcad32.exe from either of these locations (depends if you are 32 or 64 bit)

C:\Windows\SysWOW64

C:\Windows\System32

Then just make the changes in the settings
0
 

Author Comment

by:thayduck
ID: 39978020
I have been there before, but when I click User DSN tab, then click MS Access Database, then click Configure, then click Select, I do not see anything pointing to abc.mdb.  So I am not sure why I get message ODBC Microsoft Access Driver is pointing to abc.mdb.

I guess I want to see it so I know I am in right place to make change.
0
 
LVL 15

Expert Comment

by:jerseysam
ID: 39978025
Are you logged on as correct user?

What do you have in system, DSN?
0
 
LVL 15

Assisted Solution

by:jerseysam
jerseysam earned 200 total points
ID: 39978028
0
 

Author Comment

by:thayduck
ID: 39978033
Under System DSN tab I scroll thru many drivers
0
 
LVL 15

Assisted Solution

by:jerseysam
jerseysam earned 200 total points
ID: 39978038
It may be that the Access 2010 file type is not on that PC?

You may want to download:

http://www.microsoft.com/en-us/download/details.aspx?id=13255
0
 

Author Comment

by:thayduck
ID: 39978994
Sorry, had a IT emergency.

The issue is within XL document and a pivot table.
XLdoc.png  shows XL document  with connection string showing .accdb
XLdoc.png  shows what happens when I try to refresh XL document.

Not sure why I get this ODBC error since I changed connection string to point to .accdb not .mdb

Looks like pivot table or XL still points to .mdb somewhere but not sure where.
XLDoc.PNG
XLDoc1.PNG
0
Zoho SalesIQ

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

 
LVL 15

Assisted Solution

by:jerseysam
jerseysam earned 200 total points
ID: 39979065
This article shows you where odbc links are in excel pivot tables:

http://www.athenasoftware.net/help/Changing_ODBC_And_Pivot_Table_Configuration.pdf
0
 

Author Comment

by:thayduck
ID: 39979551
Tried but still have same issue. It keeps wanting abc.mdb (see .png).

I have changed everything (that I know of) to point to abc.accdb but still it wants abc.mdb when I Refresh pivot table.

Very frustrating.
0
 

Author Comment

by:thayduck
ID: 39985907
Looks like the issue is with the .xlxs with the pivot tables.
Seems like the old path is stored in the .xlxs somewhere, so even though connection points to .accdb the old path .mdb is still being used. Something to do with the PivotCache which no matter what I try I cannot change. Tried below in VBA code but still does not work (found on internet) . Still looks for old .mdb path.

Any ideas on how I can change this Pivot Cache so it points to .accdb ?

 Const sOLDPATH As String = "C:\Symposium Phone Reports\Symposium Phone Reports.mdb"
    Const sNEWPATH As String = "C:\Symposium Phone Reports\Symposium Phone Reports.accdb"

     xlApp.DisplayAlerts = False
     Set wb = xlApp.Workbooks.Open("C:\Symposium Phone Reports\Call Distribution -   Customer.xlsx")
     Set ws = wb.Worksheets("Data")
     
    With ws.PivotTables(1).PivotCache
    .Connection = Replace(.Connection, sOLDPATH, sNEWPATH)
    ws.Activate
    Set pt = ws.PivotTables(1)
    pt.RefreshTable                            **Fails here. Trys to refresh .mdb not .accdb
    Set qt = ws.QueryTables(1)
    qt.Refresh                                    **Fails here. Trys to refresh .mdb not .accdb
    End With
   
    Set ws = wb.Worksheets(1)
    ws.Activate
    wb.Save
    wb.Close
0
 

Accepted Solution

by:
thayduck earned 0 total points
ID: 39988779
I corrected this problem by opening each .xlsx (containing pivot tables) and made sure connections were pointing to .accdb and then I open each pivot table query and refreshed them. Now  .xlsx are pointing to .accdb and everything is working correctly.

Just making sure connections were pointing to .accdb was not enough, had to refesh pivot table queries to.
0
 

Author Comment

by:thayduck
ID: 39988818
Thanks for help
0
 
LVL 15

Expert Comment

by:jerseysam
ID: 39988829
Ahh ok, good man.
0
 

Author Closing Comment

by:thayduck
ID: 39998543
Thanks for help jerseysam...
0

Featured Post

Zoho SalesIQ

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

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Error 5180 Word Cannot open document template 1 31
Microsoft Word - New Language Dictionary 2 47
Deleting Unselectable Lines in Word 2013 2 34
TSQL previous 5 25
In this article we discuss how to recover the missing Outlook 2011 for Mac data like Emails and Contacts manually.
This article descibes how to create a connection between Excel and SAP and how to move data from Excel to SAP or the other way around.
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
Learn how to create and modify your own paragraph styles in Microsoft Word. This can be helpful when wanting to make consistently referenced styles throughout a document or template.

895 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

21 Experts available now in Live!

Get 1:1 Help Now