469,286 Members | 2,522 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,286 developers. It's quick & easy.

Password Usage

HB
Please Help

In my application I need the user to type their password everytime they
perform a certain task. I am using the inputbox function for this but anyone
looking over their shoulder can read their password as they type. Is their a
way I can cause a * to show instead of the actual letters?

Thanks in advance.

Brian
Jul 17 '05 #1
5 6440
Instead of using the Inputbox function you should probably create a custom
form and for the password field set the InputMask property to 'Password'.

--
Sandra Daigle
[Microsoft Access MVP]
For the benefit of others please post all replies to this newsgroup.
HB wrote:
Please Help

In my application I need the user to type their password everytime
they perform a certain task. I am using the inputbox function for
this but anyone looking over their shoulder can read their password
as they type. Is their a way I can cause a * to show instead of the
actual letters?

Thanks in advance.

Brian


Jul 17 '05 #2

Hi-

In design view of the form, open the properties window for the control where
the user enters their password. Go to the data tab and use the Input mask
wizard to assign a password mask for this control.

HTH-- Betsy W.
"HB" <fr*****@telus.net> wrote in message
news:8M*********************@news2.telusplanet.net ...
Please Help

In my application I need the user to type their password everytime they
perform a certain task. I am using the inputbox function for this but anyone looking over their shoulder can read their password as they type. Is their a way I can cause a * to show instead of the actual letters?

Thanks in advance.

Brian

Jul 17 '05 #3
HB
Thanks Sandra & Betsy

I previously tried that bu since I was calling the form from a form module
in VB code, It would open the form and continue the VB code without waiting
for a typed password. Is there a way I can use docmd openform ... then wait
for the response, then continue the calling code where it left off?

Thanks again

Brian


"Sandra Daigle" <SM******@MVPS.org> wrote in message
news:Oq**************@TK2MSFTNGP09.phx.gbl...
Instead of using the Inputbox function you should probably create a custom
form and for the password field set the InputMask property to 'Password'.

--
Sandra Daigle
[Microsoft Access MVP]
For the benefit of others please post all replies to this newsgroup.
HB wrote:
Please Help

In my application I need the user to type their password everytime
they perform a certain task. I am using the inputbox function for
this but anyone looking over their shoulder can read their password
as they type. Is their a way I can cause a * to show instead of the
actual letters?

Thanks in advance.

Brian

Jul 17 '05 #4
Yes, use the acDialog option of the Windowmode parameter of the openform
command. This will suspend the code until the opened form is either
hidden or closed.

docmd.OpenForm "frmMyForm",,,,,acDialog

--
Sandra Daigle
[Microsoft Access MVP]
For the benefit of others please post all replies to this newsgroup.
HB wrote:
Thanks Sandra & Betsy

I previously tried that bu since I was calling the form from a form
module in VB code, It would open the form and continue the VB code
without waiting for a typed password. Is there a way I can use docmd
openform ... then wait for the response, then continue the calling
code where it left off?

Thanks again

Brian


"Sandra Daigle" <SM******@MVPS.org> wrote in message
news:Oq**************@TK2MSFTNGP09.phx.gbl...
Instead of using the Inputbox function you should probably create a
custom form and for the password field set the InputMask property to
'Password'.

--
Sandra Daigle
[Microsoft Access MVP]
For the benefit of others please post all replies to this newsgroup.
HB wrote:
Please Help

In my application I need the user to type their password everytime
they perform a certain task. I am using the inputbox function for
this but anyone looking over their shoulder can read their password
as they type. Is their a way I can cause a * to show instead of the
actual letters?

Thanks in advance.

Brian

Jul 17 '05 #5
HB
AWESOME - Thanks

"Sandra Daigle" <SM******@MVPS.org> wrote in message
news:ek*************@TK2MSFTNGP11.phx.gbl...
Yes, use the acDialog option of the Windowmode parameter of the openform
command. This will suspend the code until the opened form is either
hidden or closed.

docmd.OpenForm "frmMyForm",,,,,acDialog

--
Sandra Daigle
[Microsoft Access MVP]
For the benefit of others please post all replies to this newsgroup.
HB wrote:
Thanks Sandra & Betsy

I previously tried that bu since I was calling the form from a form
module in VB code, It would open the form and continue the VB code
without waiting for a typed password. Is there a way I can use docmd
openform ... then wait for the response, then continue the calling
code where it left off?

Thanks again

Brian


"Sandra Daigle" <SM******@MVPS.org> wrote in message
news:Oq**************@TK2MSFTNGP09.phx.gbl...
Instead of using the Inputbox function you should probably create a
custom form and for the password field set the InputMask property to
'Password'.

--
Sandra Daigle
[Microsoft Access MVP]
For the benefit of others please post all replies to this newsgroup.
HB wrote:
Please Help

In my application I need the user to type their password everytime
they perform a certain task. I am using the inputbox function for
this but anyone looking over their shoulder can read their password
as they type. Is their a way I can cause a * to show instead of the
actual letters?

Thanks in advance.

Brian

Jul 17 '05 #6

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

7 posts views Thread by Geoff Muldoon | last post: by
11 posts views Thread by John Victor | last post: by
27 posts views Thread by frizzle | last post: by
4 posts views Thread by Alvaro G. Vicario | last post: by
2 posts views Thread by sridhar537 | last post: by
1 post views Thread by little83 | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
reply views Thread by suresh191 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.