Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Password

Status
Not open for further replies.

pleg12345

IS-IT--Management
Dec 21, 2003
48
EU
I have completed a password using the code below. However when a user inputs the password you can see what they are typing. I want it so it just shows ***** . Can somebody please help?

Dim strPasswd
strPasswd = InputBox("Enter Password", "Restricted Access")

If strPasswd = "" Or strPasswd = Empty Then
Msgbox "No input Provided", vbInformation, "Required Data"
Exit Sub
End If

If strPasswd = "Password" Then
Docmd.Openform "call" acNormal
Else
Msgbox "Sorry, you do not have access to this form" vbOKOnly, "Important Information"
Exit sub
End if
 
Hi,

Bring up the text box properties and go to the data tab. Then change the input mask to password. That should display "*" when user enters information into the textbox.
 
can you not do it with message box promts then?

is there another simple way to complete a query then?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top