I have a simple message box code in the On Delete property of my form. It will not trigger when deleting a record from the subform. What should I check that could be causing this.
Private Sub Form_Delete(Cancel As Integer)
Cancel = True
MsgBox "This record can't be deleted."
End Sub
Thanks.
Edit: Confirm Record changes in Access options is checked. I also cannot make the event (or Before/After Delete) fire using the macro builder. They work properly outside of a sub form.