ArcGIS Desktop

  • Documentation
  • Support

  • My Profile
  • Help
  • Sign Out
ArcGIS Desktop

ArcGIS Online

The mapping platform for your organization

ArcGIS Desktop

A complete professional GIS

ArcGIS Enterprise

GIS in your enterprise

ArcGIS for Developers

Tools to build location-aware apps

ArcGIS Solutions

Free template maps and apps for your industry

ArcGIS Marketplace

Get apps and data for your organization

  • Documentation
  • Support
Esri
  • Sign In
user
  • My Profile
  • Sign Out

Help

  • Home
  • Get Started
  • Map
  • Analyze
  • Manage Data
  • Tools
  • More...

Connecting to a Microsoft Access database in ArcGIS

You can use tables from a Microsoft Access database in ArcMap through an OLE DB connection. OLE DB is a standard for sharing data between applications, enabling you to view the Access database in ArcMap. To maintain data integrity, you should only modify an Access database in Access.

All Microsoft Access databases (.mdb) are shown and can be browsed to using ArcCatalog or the Catalog window. You should only browse to and add data directly from personal geodatabases (a type of Access database), and use OLE DB connections to nongeodatabase Microsoft Access databases.

  1. Start ArcCatalog.
  2. Add the OLE DB Connection command as a button to a toolbar in ArcCatalog.
    1. Click Customize on the main menu and click Customize mode.

      The Customize dialog box opens.

    2. Click the Commands tab.

      Choose Add OLE DB Connection command

    3. Choose ArcCatalog from the Categories list.
    4. 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.

  3. Click Close on the Customize dialog box.
  4. Click the Add OLE DB Connection button.

    The Data Link Properties dialog box appears in which you can create an OLE DB connection.

  5. Click the Provider tab.
  6. Click Microsoft Jet 4.0 OLE DB Provider.
  7. Click Next.
  8. 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.
  9. Click Test Connection to verify that you can connect to the database.
  10. Click OK if the connection test was successful.
  11. Type a new name for the connection and press ENTER.
  12. To use the Access table, browse to the table through the OLE DB connection and add it to ArcMap.

    Access tables, like other tables without associated features, are only viewable when the ArcMap Table of Contents window is listed by source.

Note:

Linked tables in Access are not viewable through an OLE DB connection, although Access queries are available. To use the linked table, create a query in Access that references the linked table and connect to the linked table through the query in the OLE DB connection.

Note:

Because OLE DB connections do not have an ObjectID field, which is a field maintained by ArcGIS that guarantees a unique ID for each row in the table, you won't be able to perform certain operations in ArcMap. These include selecting the features in the layer on the map in any way, applying a definition query, creating full relates, or editing the attributes. For more information about working with tables that lack Object IDs, see About ObjectID fields.

Related topics

  • Understanding how to use Microsoft Access files in ArcGIS
  • Tabular data sources
  • Adding OLE DB connections to databases

ArcGIS Desktop

  • Home
  • Documentation
  • Support

ArcGIS Platform

  • ArcGIS Online
  • ArcGIS Desktop
  • ArcGIS Enterprise
  • ArcGIS for Developers
  • ArcGIS Solutions
  • ArcGIS Marketplace

About Esri

  • About Us
  • Careers
  • Esri Blog
  • User Conference
  • Developer Summit
Esri
Tell us what you think.
Copyright © 2018 Esri. | Privacy | Legal