B
Brad P
An On Delete event on a subform repeats when I delete a record (when the
condition is true) in that subform. Here is the code:
If Me![Staff] <> Forms![frm_StaffInitials]![Initials] Then
MsgBox "You can not delete a Time Expense created by another user"
DoCmd.CancelEvent
Exit Sub
End If
Not sure why....any suggestions?
Thanks
condition is true) in that subform. Here is the code:
If Me![Staff] <> Forms![frm_StaffInitials]![Initials] Then
MsgBox "You can not delete a Time Expense created by another user"
DoCmd.CancelEvent
Exit Sub
End If
Not sure why....any suggestions?
Thanks