K
kcsims
I want to be able to detect changes in a subform and undo or save them. I am
using "How to Undo or Rollback Main Form and Subform Changes" from FrmSmp97
using modUndoMain&Subform with the following code on cmdCancel:
Private Sub Form_Current()
SaveSub Me![chdASSET_MANAGER_RESULTS].Form, "INTERVAL TEMP"
End Sub
Private Sub cmdCANCEL_Click()
UndoSub Me![chdASSET_MANAGER_RESULTS].Form, "INTERVAL TEMP"
End Sub
This works fine using a backup table called "INTERVAL TEMP" to undo changes
to the subform. I want to be able to detect changes made to that table to be
able to enable the cmdCancel button on the mainform. Any help would be
great. Thanks.
using "How to Undo or Rollback Main Form and Subform Changes" from FrmSmp97
using modUndoMain&Subform with the following code on cmdCancel:
Private Sub Form_Current()
SaveSub Me![chdASSET_MANAGER_RESULTS].Form, "INTERVAL TEMP"
End Sub
Private Sub cmdCANCEL_Click()
UndoSub Me![chdASSET_MANAGER_RESULTS].Form, "INTERVAL TEMP"
End Sub
This works fine using a backup table called "INTERVAL TEMP" to undo changes
to the subform. I want to be able to detect changes made to that table to be
able to enable the cmdCancel button on the mainform. Any help would be
great. Thanks.