O
oxicottin
Hello, I have the code below for a btn and it works well but you can see the
password when you type it in. What and where do I need to add to this code to
have an **** instead of seeing the pasword? Thanks!!
Private Sub Command44_Click()
Dim strPasswd
strPasswd = InputBox("Please Enter Password", "Restricted Form")
'See if a valid entry made to input box
If strPasswd = "" Or strPasswd = Empty Then
MsgBox "No Input Provided", vbInformation, "Required Data"
Exit Sub
End If
'correct password is entered open Main form Close, Opening Sheet
If strPasswd = "123" Then
DoCmd.OpenForm "frm_UpdateEmployeeInformation", acNormal
Else
MsgBox "Sorry, you do not have access to this form", vbOKOnly, "Important
Information"
Exit Sub
End If
End Sub
password when you type it in. What and where do I need to add to this code to
have an **** instead of seeing the pasword? Thanks!!
Private Sub Command44_Click()
Dim strPasswd
strPasswd = InputBox("Please Enter Password", "Restricted Form")
'See if a valid entry made to input box
If strPasswd = "" Or strPasswd = Empty Then
MsgBox "No Input Provided", vbInformation, "Required Data"
Exit Sub
End If
'correct password is entered open Main form Close, Opening Sheet
If strPasswd = "123" Then
DoCmd.OpenForm "frm_UpdateEmployeeInformation", acNormal
Else
MsgBox "Sorry, you do not have access to this form", vbOKOnly, "Important
Information"
Exit Sub
End If
End Sub