Message 1 of 6
Transaction Manager

Not applicable
12-04-2009
04:48 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
In an addin, I am trying to allow multiple operations and have my own
Undo and Redo on the form. I had it working for a while I thought, but
now it has quit, and I am not sure why.
I can undo the last transaction using oTxnMgr.UndoTransaction()
and in a watch window of oTxnMgr see that the UndoneTransactions.count
goes to 1. But then I start another transaction and the
Undonetransactions count goes to 0. I have tried using a different name
for the transaction, and tried dim'ing a new variable to store the new
transaction, to no avail.
Anyone have any idea what I might be doing wrong to cause starting a
new transaction to remove the Undone Transaction?
Undo and Redo on the form. I had it working for a while I thought, but
now it has quit, and I am not sure why.
I can undo the last transaction using oTxnMgr.UndoTransaction()
and in a watch window of oTxnMgr see that the UndoneTransactions.count
goes to 1. But then I start another transaction and the
Undonetransactions count goes to 0. I have tried using a different name
for the transaction, and tried dim'ing a new variable to store the new
transaction, to no avail.
Anyone have any idea what I might be doing wrong to cause starting a
new transaction to remove the Undone Transaction?