Please help I am trying to stop the err msg 2501 after the cancelling the open event - I tried on error resume next - didn't work
Help
access 2003 VBA
the following is a simplified example in a form's module:
Option Compare Database
Option Explicit
Private Sub Form_Open(Cancel As Integer)
if msgbox("Don't open the Form?",vbOKCancel) = vbCancel then
Cancel = True
Exit Sub
end if
...other stuff here
end sub
Thanks kindly in advance!
Help
access 2003 VBA
the following is a simplified example in a form's module:
Option Compare Database
Option Explicit
Private Sub Form_Open(Cancel As Integer)
if msgbox("Don't open the Form?",vbOKCancel) = vbCancel then
Cancel = True
Exit Sub
end if
...other stuff here
end sub
Thanks kindly in advance!