Well I didn't get the boolean variable to work for me. But you did point me in the right direction. I had to change the focus, so I added this If statement directly after the other one:
Code:
If Answer = 6 Then
Forms!Main!btnUnlock.SetFocus
btnLock.Visible = False
End If
I didn't really think this would work since its still in the same click event, but it did so I'm going with it!
Thanks one again mmcdonal,
Dave