Asterisks in InputBox()

D

doyapore

Dear All,
Is there a way whereby I can replace the characters typed in by the user in
an InputBox(), with asterisks?

[I am trying to figure out a way where the user enters his/her password to
access various features of my application]

Thanks in advance.
 
S

Steve Schapel

Doyapore,

I don't think this is possible with an InputBox. However, it is
probably very straightforward to use a simple unbound form which you pop
up in the place of the InputBox, with an unbound textbox from which you
retrieve the inputted value. If you do it like this, you can set the
Input Mask property of the textbox to Password and it will do it like
you want.
 
D

doyapore

Thanks. I didnt know that.
However, I am still looking for a solution for the InputBox(). Can you help?
 
D

Douglas J. Steele

Steve's correct: it cannot be done. You have no choice but to use your own
form.

--
Doug Steele, Microsoft Access MVP

(no e-mails, please!)



doyapore said:
Thanks. I didnt know that.
However, I am still looking for a solution for the InputBox(). Can you help?


doyapore said:
Dear All,
Is there a way whereby I can replace the characters typed in by the user in
an InputBox(), with asterisks?

[I am trying to figure out a way where the user enters his/her password to
access various features of my application]

Thanks in advance.
 
D

doyapore

Aww! I guess have to create a new form to do exactly the kind of interface I
want. Anyway thanks folks.


Douglas J. Steele said:
Steve's correct: it cannot be done. You have no choice but to use your own
form.

--
Doug Steele, Microsoft Access MVP

(no e-mails, please!)



doyapore said:
Thanks. I didnt know that.
However, I am still looking for a solution for the InputBox(). Can you help?


doyapore said:
Dear All,
Is there a way whereby I can replace the characters typed in by the
user in
an InputBox(), with asterisks?

[I am trying to figure out a way where the user enters his/her password to
access various features of my application]

Thanks in advance.
 

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

Similar Threads


Top