Hi everyone,
I'm having a problem with IFeature.Store(). It stores the feature attributes correctly but it does not excute the codes after the call to IFeature.Store(). It does this in onCreateFeature() but works fine in onModifyFeature(). In order words, if the Feature already exist in the FeatureClass the codes directly following a call to IFeature.Store() in OnModifyFeature() are executed but not so in onCreateFeature() even though the new feature is added to the database when IFeature.Store() is called It fails to excute the code directly following the call. I can't see what is happening in the IFeature.Store() source code because it's just an interface method. Why wouldn't the code directly following a call to IFeature.Store() be executed?
Oh, another thing i realized is that once execution reachs the the line where IFeature.Store() is called the order of execution suddenly changes to the beginning of onCreateFeature starting execution over again like in a loop. It will not execute the codes after IFeature.Store() but will change the order of execution to onCreateFeature which is extremely disturbing.
Any suggestions will be greatly appreciated.
Thank you in Advance.