4

Can you edit a 2007 MS Access .accdb file format using the OLE DB connection?

I have made the connection using the following:

Connecting to a 2007 Microsoft Access database (.accdb) in ArcGIS

I can add and view the tables from this file in ArcMap, but when I try to start an edit session on this table, it errors out with the follwoing 2 errors:

  • No editable layers
  • Check to see that you have the appropriate permissions

I created a .accdb file from scratch, so it is not read only.

Under the Advanced tab in the Data Link Properties for the OLE DB connection, I have set the ReadWrite option check mark and unchecked the rest and I am still unable to edit this table in ArcMap.

enter image description here

Click image for larger version Name: OLE_DB_Advanced.jpg Views: 14 Size: 44.7 KB ID: 25411

There isn't much documentation on the OLE DB connection in the help file other than how to connect as posted above. Can anyone point out what I may be doing wrong?

PolyGeo
65.5k29 gold badges115 silver badges350 bronze badges
asked Jun 24, 2013 at 15:27

1 Answer 1

7

The ArcGIS 10.1 Help indicates that you cannot edit the attributes of Excel or MS Access files, added through an Ole DB connection, because they have no ObjectID field. You can Copy the data to a fGDB table and then edit it. Or you can script Python to edit the native MS formats.

Padmanabha
1,4083 gold badges11 silver badges20 bronze badges
answered Jun 24, 2013 at 17:19
1
  • I don't know how I missed that, but thanks. That explains my issue. Commented Jun 24, 2013 at 17:42

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.