AnsweredAssumed Answered

featureClass.deleteSearchedRows not deleting features

Question asked by peterlen on Jul 16, 2014
Latest reply on Jul 17, 2014 by Hornbydd

I am using the Java ArcObjects API for ArcGIS 10.  I have a FeatureClass object for a feature class table within a file geo-database.  I want to remove all of the features so am using the featureClass.deleteSearchedRows(null) call.  I use "nul" as the query filter in order to get all of the items.  I have tested this on a test file geodatabase and it works fine.  When I try to use it on another local file geodatabase that already existed, it does not.  The code runs without any errors but when I go to view the feature class in ArcCatalog, all the rows are still there.  Initially I thought that maybe it was a permissions issue but I would have figured that a permission error would have been thrown.  The problem here is that because no error is being thrown, my code wants to go on and re-populate the feature class with other items but if the feature class still contains the previous items, I have a problem.  Any clue as to what might be happening?


Thanks - Peter