creating passwords on forms

S

sandrao

I am trying to create a small form that has an unbound text box that you
enter a password in. I would like to know how to have the password appear as
they usually are, when you access a program. Eg. the password might be
"payroll" but what appear as you type it in is "******" How can this be
achieved by code.

Sandrao
 
A

Allen Browne

Open the form in design view.
Right-click the text box, and choose Properties.
Set its Input Mask propert to:
Password
 
T

tina

i wouldn't bother using code - just set the textbox control's InputMask
property to
Password

hth
 
Top