Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

How do you change ODBC Microsoft Access Driver

Posted on 2014-04-04
14
Medium Priority
?
609 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
ATEN's HDBaseT Presentation at InfoComm 2017

Hear ATEN Product Manager YT Liang review HDBaseT technology, highlighting ATEN’s latest solutions as they relate to real-world applications during her presentation at the HDBaseT booth at InfoComm 2017.

 
LVL 15

Assisted Solution

by:jerseysam
jerseysam earned 600 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 600 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
 
LVL 15

Assisted Solution

by:jerseysam
jerseysam earned 600 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

Portable, direct connect server access

The ATEN CV211 connects a laptop directly to any server allowing you instant access to perform data maintenance and local operations, for quick troubleshooting, updating, service and repair.

Question has a verified solution.

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

My attempt to use PowerShell and other great resources found online to simplify the deployment of Office 365 ProPlus client components to any workstation that needs it, regardless of existing Office components that may be needing attention.
After seeing numerous questions for Dynamic Data Validation I notice that most have used Visual Basic to solve the problem. This suggestion is purely formula based and can be used in multiple rows.
The viewer will learn how to  create a slide that will launch other presentations in Microsoft PowerPoint. In the finished slide, each item launches a new PowerPoint presentation and when each is finished it automatically comes back to this slide: …
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…

670 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