Computed field <ObjectID> cannot be in key of table.
Message Text
This field is a computed field but is marked as a part of the primary key of the table. Computed fields cannot be used in primary keys.
See Also
Compile-Time Error Messages (Authoring Object Model)