Dim cursor As ICursor Set cursor = table.Search(Nothing, False) Dim row As IRow Set row = cursor.NextRow Do While Not row Is Nothing ' do something Set row = cursor.NextRow Loop
Set pTabCursor = pStTab.Table.update(Nothing, false) Set pRow = pTabCursor.NextRow While Not pRow Is Nothing Set pPoint = New Point pPoint.x = pRow.Value(10) Debug.Print pPoint.x pPoint.y = pRow.Value(11) pPoint.PutCoords pRow.Value(10), pRow.Value(11) pPoint.Project pGCS pRow.Value(12) = pPoint.y pRow.Value(13) = pPoint.x pTabCursor.UpdateRow(pRow) Set pRow = pTabCursor.NextRow Wend
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.