Susan has attended:
Access VBA course
Vba password checking and input mask
I have a non visible text box on my form called formpassword. I want to display an inputbox and for the characters the person types to appear as asterisks. The following code works but the password is not displayed as asterisks. Please can you tell me how I can do this?
Me.formpassword.InputMask = "password"
Me.formpassword = InputBox("Please enter password")
If formpassword <> "abc" Then
MsgBox "Incorrect password"
DoCmd.Close
Exit Sub
End If
Thanks
Sue
RE: vba password checking and input mask
VB.net provides a template for a login form and all your going to have to do is a little bit of coding to make it all happen.
An article on this is as follows.
http://www.vb-helper.com/howto_net_login_form.html