Type in Passwrod an * appears insteead of Password on screen

N

Nick

I am have built a form that needs a password to access,
but I dont want any users to see the password being typed
only a * when the user hits a key, can anyone help me???
 
T

Tony C

For the Password Prompt, ensure that it is another Form.

For the Text Box that the password is typed into, display
the Properties (in design view), select the "Data" Tab,
then set the "Input Mask" property to "Password".

Tony C.
 
R

Rick Brandt

Nick said:
Thanks four your help, but I had used VB code instead of a
form. Any thoughts?

If you are using an InputBox then you cannot suppress the display. It is
trivial to create your own form to use instead of an InputBox and then the
password input mask can be used. Just open it with the acDialog option and
have your OK button merely hide the form instead of closing it. Then your
code can pull the entry from the form in the following lines of code and
then close the form.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top