Password Usage

H

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
 
B

Betsy

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.
 
S

Sandra Daigle

Instead of using the Inputbox function you should probably create a custom
form and for the password field set the InputMask property to 'Password'.
 
H

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 said:
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.

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
 
S

Sandra Daigle

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.

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 said:
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.

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
 
H

HB

AWESOME - Thanks



Sandra Daigle said:
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.

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 said:
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
 

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