I have switchboard that contains command buttons to access many forms. I have locked down the forms via password using the following code for each form:
Dim PassWord As String
PassWord = InputBox("Enter Password")
If PassWord = "MyPassword" Then
' Open Form
DoCmd.OpenForm "MyFormName"
DoCmd.GoToRecord , , acNewRec
Else
MsgBox ("You're not authorized")
End If
It WORKS fine, but when you enter the password, it shows the actual letters rather than an asterisk. How would I go about showing asterisks instead?
Thanks!
Dim PassWord As String
PassWord = InputBox("Enter Password")
If PassWord = "MyPassword" Then
' Open Form
DoCmd.OpenForm "MyFormName"
DoCmd.GoToRecord , , acNewRec
Else
MsgBox ("You're not authorized")
End If
It WORKS fine, but when you enter the password, it shows the actual letters rather than an asterisk. How would I go about showing asterisks instead?
Thanks!