extraolivesplea
New member
- Local time
- Today, 17:03
- Joined
- Apr 17, 2005
- Messages
- 7
Am new to creating databases - just thought I'd mention that first!
I am really just practicing a few things before I start proper.
I have set up a simple password entry form where there is only 1 password for all users. It opens up another form or displays the error message. Is working fine BUT when the password is typed in you can see the word and I would prefer it to come up with *******.
Here's the code I've used - is there a way for me to mask the input with **?
Thanks
Private Sub Command4_Click()
Dim strInput As String
strInput = InputBox("Please enter password to continue", vbOKOnly, "*******")
If strInput = "inkblot" Then
DoCmd.OpenForm "teachers"
Exit Sub
End If
End Sub
I am really just practicing a few things before I start proper.
I have set up a simple password entry form where there is only 1 password for all users. It opens up another form or displays the error message. Is working fine BUT when the password is typed in you can see the word and I would prefer it to come up with *******.
Here's the code I've used - is there a way for me to mask the input with **?
Thanks
Private Sub Command4_Click()
Dim strInput As String
strInput = InputBox("Please enter password to continue", vbOKOnly, "*******")
If strInput = "inkblot" Then
DoCmd.OpenForm "teachers"
Exit Sub
End If
End Sub