I have a command button that promts the user to enter a pw to open a form. everything works good except for one thing. when the user enters the pw, the pw is spelled out instead of in ***'s. Below is the code for the command button. What is the code to 'hide' the pw when the user enters it and where do I put in within the code below. TIA
Private Sub Command1_Click()
Dim strPasswd
strPasswd = InputBox("Enter Password", "Restricted Form"
If strPasswd = "Type your password here" Then
DoCmd.OpenForm "FrmAmendDatabase", acNormal
Else
Beep
MsgBox "Only members of the Admin Group can amend this database application"
Exit Sub
End If
End Sub
Private Sub Command1_Click()
Dim strPasswd
strPasswd = InputBox("Enter Password", "Restricted Form"
If strPasswd = "Type your password here" Then
DoCmd.OpenForm "FrmAmendDatabase", acNormal
Else
Beep
MsgBox "Only members of the Admin Group can amend this database application"
Exit Sub
End If
End Sub