Rolling back RDC changes 
Author Message
 Rolling back RDC changes

Let me see if I understand. After opening the RDC connection, and before
the user can change anything, I execute the BeginTrans method, refresh the
RDC, then let the user go to town (DBGrid is actually doing the changes to
the data control). After some changes, I can supply the user with a Cancel
button that will issue a RollbackTrans to the RDC, undoing all changes?
Sounds perfect if I can get it to work. Let me know if my understanding is
off.
--



Quote:
> Greg,
>    Here's a little help.  You begin a transaction on the RDC and then
> rollback or commit.  But the trick is that you have to do a refresh on
the
> RDC AFTER you execute the begintrans or it won't work.



Mon, 30 Aug 1999 03:00:00 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. committing/rolling back all changes on form

2. Rolling Averages - back to the drawing board

3. Roll back transaction Error handling

4. Rolling back to vbx's afer upgrading to ocx's

5. RDO Problem when rolling back transaction - Function sequence error

6. "rolling back" on AddNew

7. Implicit roll back when using server side cursor

8. Rolling back transactions

9. COM+ question: SetAbort not rolling back transaction?

10. MTS, VB and rolling back transactions

11. SetAbort does not roll back transaction

12. GetTickCount Rolls Back To Zero?

 

 
Powered by phpBB® Forum Software