WebFaktor
02-16-2002, 11:25 AM
Hi
The code which follows will prevent a user from leaving a form's textbox until they enter any type of information into it. Is it possible to alter the code so the user will be required to enter a specific password before proceeding. A password such as "marigold"
Thanks in advance,
WebFaktor/Michael
Private Sub Password_Exit(Cancel As Integer)
If IsNull([Password]) Then
MsgBox "Password incorrect! Please try again..."
[Holder].SetFocus
[Password].SetFocus
End If
End Sub
The code which follows will prevent a user from leaving a form's textbox until they enter any type of information into it. Is it possible to alter the code so the user will be required to enter a specific password before proceeding. A password such as "marigold"
Thanks in advance,
WebFaktor/Michael
Private Sub Password_Exit(Cancel As Integer)
If IsNull([Password]) Then
MsgBox "Password incorrect! Please try again..."
[Holder].SetFocus
[Password].SetFocus
End If
End Sub