Microsoft Office 2007 introduced a new Microsoft Access database format, accdb, which is the new default format in Access 2007 when saving or creating a database. Without using OLE DB, ArcGIS cannot directly read or write to the new Microsoft Access format; this includes accessing accdb files directly through the Add Data dialog box.
To connect to an .accdb file, complete the following steps:
- Install the appropriate Microsoft Access Database Engine driver.
- If using Microsoft Office 2013 or earlier versions, install the Microsoft Access Database Engine 2010 Redistributable driver.
- If using Microsoft Office 2016 or later versions, install the Microsoft Access Database Engine 2016 Redistributable driver.
- Add the OLE DB Connection command as a button to a toolbar in ArcCatalog.
- Click Customize on the main menu and click Customize mode.
The Customize dialog box opens.
- Click the Commands tab.
- Choose ArcCatalog from the Categories list.
- Drag Add OLE DB Connection from the Commands list onto a toolbar in ArcCatalog.
The Add OLE DB Connection button is added to the toolbar.
- Click Customize on the main menu and click Customize mode.
- Click the Add OLE DB Connection button.
The Data Link Properties dialog box appears in which you can create an OLE DB connection.
- Click the Provider tab.
- Select the appropriate provider based on the Microsoft Access Database Engine driver installed in step 1 above.
- If the Microsoft Access Database Engine 2010 Redistributable driver was installed, select Microsoft Office 12.0 Access Database Engine OLE DB Provider.
- If the Microsoft Access Database Engine 2016 Redistributable driver was installed, select Microsoft Office 16.0 Access Database Engine OLE DB Provider.
- Click Next.
- On the Connection tab, specify the database or browse to it in section one. If the database has a password, enter that information in section two.
- Click Test Connection to verify that you can connect to the database.
- Click OK if the connection test was successful.
- Type a new name for the connection and press Enter.
- To use the Access table, browse to the table through the OLE DB connection and add it to ArcMap.