Mask on password field

kentendresen

Registered User.
Local time
Today, 17:05
Joined
Nov 13, 2002
Messages
49
I've made a Input Box where dedicated users have to type in a password. But when the password is typed, it comes in plain text. How can I change the code so that there will be a mask on the password field?

The code I have now is:

...
strInput = InputBox(Prompt:=strMsg, Title:="Protected Area")
If strInput = "password" Then 'password is correct
DoCmd.OpenForm "Protected Area Form"
DoCmd.Close acForm, Me.Name
Else 'password is incorrect
...

If I have to put in some code other places than in this code to get it right, please tell me very precisely where, I'm a rookie!

BR,

kent
 
On the textbox's Input Mask property, simply put Password.


Edit: Sorry, never read the bit about the Input Box!
 
Last edited:
It is not a textbox...

So I need a code I can put in VB.

BR,

Kent
 
Kent,

I'd use a Popup, Modal Dialog box with a text field that has
the password attribute. It will make your life easier.

Wayne
 

Users who are viewing this thread

Back
Top Bottom