Hi
I have vba script that is used to move point features around. It uses the sdk method IPoint.PutCoords inX, inY. It executes perfectly in one featureclass with no problems.
Another feauteclass that I brought in from another database, the script has virtually no effect though every step is executed fine. Any reasons for the same?
Thanks
Joseph
I traced it out and found that editor tracking is enabled. If editor tracking is removed, the features move.
Since my production database requires editor tracking, has anyone come to know how to overcome this? The functions that I use is simple
Sub setGeom(ByVal inFeat As IFeature, ByVal inX As Double, ByVal inY As Double)
If inFeat.FeatureType = esriFTSimple Then
Dim vPoint As IPoint
Set vPoint = inFeat.Shape
'MsgBox vPoint.X & "," & vPoint.Y
vPoint.PutCoords inX, inY
inFeat.Store
End If
End Sub