Cancel command
-
In my options page has 2 button, 'Save' and 'Cancel'. After i doing changes for all particular fields in options page, then i click 'Save' button to save it. It works successfully. But my problem is if user click button 'Cancel', then my program should rollback all transaction and the data will back to previous data before i click the 'Save' button. So, has any coding to do rollback transaction in VB6??:confused: Angela
-
In my options page has 2 button, 'Save' and 'Cancel'. After i doing changes for all particular fields in options page, then i click 'Save' button to save it. It works successfully. But my problem is if user click button 'Cancel', then my program should rollback all transaction and the data will back to previous data before i click the 'Save' button. So, has any coding to do rollback transaction in VB6??:confused: Angela
That all depends on what you mean by "transaction". But normally, you'd let the user pick a bunch of options in the dialog and not apply any of those changes until the user clicks Save or OK. Until then, you can just not do anything if the user clicks Cancel. Dave Kreskowiak Microsoft MVP - Visual Basic