In Access (97 in my case), is it common to design forms so that if any changes are made to the data, the user has an opportunity to Commmit or Rollback the transaction before moving to the next record? This seems like the most logical way to design forms since most Windows programs allow you to OK or Cancel. In our Informix 4GL apps at work we don’t commit any data until the user presses the commit key or we roll back if they press abort.
Thanks,
jim jones
If I bind the form to a table or query, it updates the data when I move to the next record. For lack of ideas, I tried a BeginTrans in the Form_Load event and then a prompt in the Form_BeforeUpdate event. However, a Rollback does not have any effect using this strategy.
Am I missing something? Do I have to load each Form element in VBA rather than binding the form and then take more of a VBA approach? It seems like this would be an option or something.