authorsami
Instructor
I have the following code which brings up an input box where my users enter in a password to access the screens to follow. My question is whether I can have the password show up as ******* and not the actual words typed????
==
Dim X As Variant
Dim stDocName As String
Dim stLinkCriteria As String
X = InputBox("Please enter password to open this form:", "PASSWORD Prompt"
If X = "HarryPotter" Then
stDocName = "Switchboard"
DoCmd.OpenForm stDocName, , , stLinkCriteria
Else
MsgBox ("Sorry, you can open this form."
End If
===
Thank you
==
Dim X As Variant
Dim stDocName As String
Dim stLinkCriteria As String
X = InputBox("Please enter password to open this form:", "PASSWORD Prompt"
If X = "HarryPotter" Then
stDocName = "Switchboard"
DoCmd.OpenForm stDocName, , , stLinkCriteria
Else
MsgBox ("Sorry, you can open this form."
End If
===
Thank you