masanisreekar

Updating Feature having Relationship with Notifications

Discussion created by masanisreekar on Oct 19, 2013
Hi,

Please help me to overcome the following problem.

I have the following simple code.
                ESRI.ArcGIS.Geodatabase.ITable pTable = pFClass as ESRI.ArcGIS.Geodatabase.ITable;
                ESRI.ArcGIS.Geodatabase.IRow pRow = pTable.GetRow(1);
                int fldIndex = pRow.Fields.FindField("Comments");
                pRow.set_Value(fldIndex, "WWWW");
                pRow.Store();

I am getting an error "Item not found in this collection" at Store() Method. After doing some research, I found that, this feature class is having some relation and that relation is having forward notification. If I delete this relation and create same relationship without notification, I could able to use Store() method without any error.

Please help me to update the features in this Feature Class with Relationship having notifications.


Many Thanks,
Regards,
Sreekar Masani.

Outcomes