passwords - contiued from topic below

jazzman

New member
Local time
Today, 20:41
Joined
Feb 6, 2002
Messages
5
i dont quite get what your reply means

here is my code
Private Sub Command23_Click()
Dim strPassword As String

strPassword = InputBox("Enter The Password")

If strPassword = "Password" Then
DoCmd.OpenForm "frmhillsideresturant"
DoCmd.Close acForm, "frmqualityhotel"
Else
MsgBox "Wrong password, try again"
End If
End Sub

is there anything i can add to this code to give me the ****** symbols in stead of seing password?? note this from is a switchboard only - so there are no tables being usedor related
 
Please continue in the same topic as before, jazzman, when still on the same subject. When I read your message I thought you meant my reply to one topic you'd posted about this problem, not realizing that you had also posted another topic and boblarson had been replying to you there.
 
sorry, im pretty new - do u have any idea anyway????
 
Open up the password form in design view. Right click the field and select properties. Select the Data tab and select click in the space beside "Input Mask", three little dots appear on the right hand side, click that and select "Password"
 
You can't make the asterisks mask a password in an InputBox. You need to create a custom form with a text box and follow DBL's instructions.
 

Users who are viewing this thread

Back
Top Bottom