I have a command button, that when clicked on a message box will pop up to enter a password. The problem is that you can see the password when you type it in front of someone. Is there a way to make the password display all asterisk rather than the password. Example: "ron" vs. " *** "
Here is my code. Any suggestions.
Private Sub Command70_Click()
Dim stDocName As String
Dim stLinkCriteria As String
Dim Password As String
stDocName = "frm_Override"
Password = InputBox("Enter the Password")
If Password = "ron" Then
DoCmd.OpenForm stDocName, , , stLinkCriteria
Else
MsgBox ("You're not authorized")
End If
End Sub
Any thoughts on this?
Here is my code. Any suggestions.
Private Sub Command70_Click()
Dim stDocName As String
Dim stLinkCriteria As String
Dim Password As String
stDocName = "frm_Override"
Password = InputBox("Enter the Password")
If Password = "ron" Then
DoCmd.OpenForm stDocName, , , stLinkCriteria
Else
MsgBox ("You're not authorized")
End If
End Sub
Any thoughts on this?