Error: Error getting a list of oids from the table
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."
The ObjectID field is not primary.
Solution or Workaround
Follow the steps below:
- Set the ObjectID field as the primary key in Access.
- Remove the existing feature class from the map document and add it back in.