BobJacksonNCI
Technical User
I'm trying to provide my users with the ability to cancel a form that has a subform and am having a problem.
(I'm trying to give the user the capability to cancel a form/subform so I do not have to give them delete capability - after records have been saved.)
Environment is Access 2000 FE / SQL 7 BE
The subform controls have validation routines that execute during BeforeUpdate. Tied to the Form's Cancel button is:
If Forms!frm_TIME_OFF!frm_TIME_OFF_SUBFORM.Form.Dirty Then
Forms!frm_TIME_OFF!frm_TIME_OFF_SUBFORM.Form.Undo
End If
When I select the Cancel button, the Subform BeforeUpdate events are triggered and I'm prompted to correct invalid or enter missing subform data.
Can anyone help?
Bob
(I'm trying to give the user the capability to cancel a form/subform so I do not have to give them delete capability - after records have been saved.)
Environment is Access 2000 FE / SQL 7 BE
The subform controls have validation routines that execute during BeforeUpdate. Tied to the Form's Cancel button is:
If Forms!frm_TIME_OFF!frm_TIME_OFF_SUBFORM.Form.Dirty Then
Forms!frm_TIME_OFF!frm_TIME_OFF_SUBFORM.Form.Undo
End If
When I select the Cancel button, the Subform BeforeUpdate events are triggered and I'm prompted to correct invalid or enter missing subform data.
Can anyone help?
Bob