ERROR

Error getting a list of oids from the table

Last Published: April 25, 2020

Error Message

When opening the attribute table for a feature class from a map document containing a geodatabase created from a Unified Modeling Language (UML) diagram using Visio and computer-aided software engineering (CASE) tools, the following error displays:

"Error getting a list of oids from the table
general function failure [substations]
too few parameters expected."

Cause

The ObjectID field is not primary.

Solution or Workaround

Follow the steps below:

  1. Set the ObjectID field as the primary key in Access.
  2. Remove the existing feature class from the map document and add it back in.

Article ID:000008421

Software:
  • ArcMap 9 x

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options

Discover more on this topic