Frequently asked question

Can I edit relationships by manually modifying the foreign key value?

Last Published: April 25, 2020


When adding and removing relationships, you should either use the commands in the relationship context menu in the attributes inspector, or use the methods on IRelationshipClass for creating and deleting relationships.

You can do this by modifying the foreign key directly, however, if you do this the various dialogs in ArcMap will not update themselves to indicate the creation or deletion of the relationship. For example, if you have the attributes inspector open for a particular object, then modify its related object’s foreign key field using the table dialog to break the relationship, that change will not be visible in the attributes inspector until it is refreshed.

Article ID:000002940

  • ArcMap 8 x

Receive notifications and find solutions for new or common issues

Get summarized answers and video solutions from our new AI chatbot.

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options