How to change text string to asterisk in text box

H

Huayang

When enter the password, how to change it to asterisk and compare it with
password in the table? thanks
 
T

tina

if you're entering the password into a textbox control on a form, you can
set the textbox's InputMask property to Password. that does not *change* the
data entered by the user, but *displays* it as asterisks.

you can use a DLookup() function to return the correct password from the
table and compare it to the value entered in the textbox. if you're not
familiar with DLookup(), see Access Help for more details.

hth
 
T

TC

What is to stop someone reading the passwords out of the table?

You should //never// store a plaintext password. You should only store
the /hash/ of the password. Google on "hash functions" for more
information. "MD5" is a common hash function for storing passwords.

HTH,
TC
 

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