M
Mike J
I open a form(menu, open another form with a click of a
button, which then immediately opens up a custom dialog
popup which asks for a password. The problem is that if
they choose the wrong pw, I want it to close the third and
second form and return to the menu. So I used the
docmd.close but execution of code goes back to the 'Open'
event of the second form whch causes an error because the
2nd form is closed.
I though the closing of the form would kill the vba
code/modules too? Am I wrong?
button, which then immediately opens up a custom dialog
popup which asks for a password. The problem is that if
they choose the wrong pw, I want it to close the third and
second form and return to the menu. So I used the
docmd.close but execution of code goes back to the 'Open'
event of the second form whch causes an error because the
2nd form is closed.
I though the closing of the form would kill the vba
code/modules too? Am I wrong?