geophotog

how to return OID of row sitting in top of undo stack (Undo Database Row Change)

Discussion created by geophotog on Nov 5, 2010
Latest reply on Nov 8, 2010 by agray1
In an edit session, when the user clicks undo (which will Undo Database Row Change), I need to programmatically identify the row ID's that are about to be undone. I'm listening with _OnUndo, what interface will return the OID's of the pending undo rows?

I understand IDifferenceCursor is used when comparing different versions; but this is not what I'm doing. I'm not comparing differences. I'm using the returned OID's to programmatically make changes to an external standalone table (not targeted in the edit session) containing completely different data.

Thanks,
Jill Fritz, USFS Region 6

Outcomes