Astrisk's for Password

cwash

Registered User.
Local time
Today, 21:38
Joined
May 21, 2002
Messages
21
How would you get a password to show up as astrisk's instead of haveing the pw spelled out?

I'm refering to the posted question in http://www.access-programmers.co.uk/ubb/Forum4/HTML/007177.html

I was able to get the command button to work but the password is spelled out and that isn't any good if someone is looking over your shoulder.

TIA
 
Forgive me for asking the following questions but I'm new to the coding part.

Are you suggesting to not use a command button, instead use a PopUp form?

If so, what code will I need to ask the user for the pw to access the form?

Any extra help will be appreciated.
 
for the text field you are using go into design view, click on properties for that field, click on the data tab.

select or type password in the input mask.

this should do the trick

ian
 
I think I should restate the question, because I a little confussed.

I have a command button, when depressed, the command button prompts the user to enter a password in order to open a form. Everything works fine except for one thing...When the user enters a password, the pw is spelled out instead of in ***'s.

My question is how do I get the password to show up as ***'s. I don't want to worry about how is in the room when I enter the password. I'm assumming there is some code involved with 'hiding' the password but since I'm new at VB I need help.

If possible I would like to still use the command button for prompting the user to enter the pw.

Thanks for being patient with me.

cw
 
Trap each keystoke in your password textbox with event "On Key Press," saving the keystoke, appending each successive one to a local variable, and return and "*." Backspaces get a little tricky. When you get it, you'll marvel at how easy it is. Then use a button "On click" to check the local variable being correct to continue. I give uses three chances to get it right, then I quit the application.

[This message has been edited by llkhoutx (edited 05-27-2002).]
 
I may have misunderstood what your asking here. Is the password required part of a criteria in a query which is run on opening the form.

eg criteria = [Enter Password]

if so this will result in a standard request box that allows the text top be visible.

The way round i used was to create a password form that is activated by the origional command button. you can have the password forms input masks set to whatever you want.

I had a continue button with an onclick event, which checked the password validity and either allowed the protected form to be opened or not.

ian
 
cwash, Iangirvan has given you the answer on how to have asterisks appear instead of the actual text when you type in a password.
 

Users who are viewing this thread

Back
Top Bottom