Hi! I don't quite understand how to change attribute values when some geoprocessing tool (e.g. "Calculate Field" is modifying rows. I want to change some attribute values within the same row event. I know how to do this in edit session (I followed this example and it works when I' m using Edit tab tools). But with Calculate Field using this parent Edit operation does not seem to work and I don't know why, although I get the operation from the RowChangedEvent.
Hi,
Calculate Field tool doesn't allow to do "Undo" operation. It seems that it writes changes without edit operation.
Actually it is possible to enable undo for the calculate field as well and I can listen for the row changed event but I haven't managed to change attributes within the same operation.
Before writing I have done field calculation on Enterprise database and it not allows "Undo".
If you can handle RowChangedEvent, then you can modify attributes like in that thread:
Actually I did some more testing and found that I can only listen for the row changed event of geoprocessing tools if I 'm in edit session, otherwise not.