Here is a code Im using for a password for but when the password is entered it is displayed as you type it not as "******" any one know how I can edit it so it dosnt show the password?
Function callit()
Call password
End Function
Sub password()
Dim password, messages, titles
messages = "Please enter password"
titles = "Password"
password = InputBox(messages, titles)
If password = "nurse" Then DoCmd.OpenForm "nurses" Else If password = "doctor" Then DoCmd.OpenForm "docs" Else If password = "clerk" Then DoCmd.OpenForm "clearks" Else DoCmd.OpenForm "startup"
End Sub
Thanks for your help........
Function callit()
Call password
End Function
Sub password()
Dim password, messages, titles
messages = "Please enter password"
titles = "Password"
password = InputBox(messages, titles)
If password = "nurse" Then DoCmd.OpenForm "nurses" Else If password = "doctor" Then DoCmd.OpenForm "docs" Else If password = "clerk" Then DoCmd.OpenForm "clearks" Else DoCmd.OpenForm "startup"
End Sub
Thanks for your help........