ACC1x: How to Create a Password Text Box
ID: Q88650
|
The information in this article applies to:
-
Microsoft Access versions 1.0, 1.1
SUMMARY
Some applications require password protection and should provide a dialog
box at startup which prompts the user for a password. For security
purposes, this prompt should not show the characters that the user is
typing, but should give the user some idea of how many characters have
been typed so that the user does not lose track of what part of the
password is being typed. This article describes how you can create a
password text box in Microsoft Access version 1.x.
In Microsoft Access version 2.0, you can use input masks for typing data
into a field or control. There is an input mask specifically for password
entry. For more information, search for "input masks," using the Microsoft
Access 2.0 Help menu.
MORE INFORMATION
To create a password text box:
- Create a form and open it in Design view.
- Add a text box and select it so that it has the focus.
- In the toolbar, drop down the list of fonts located directly to the
right of the Paint Pallette toolbar button.
- From the list, choose Courier.
- In the toolbar, drop down the list of font sizes located directly to
the right of the list of fonts from which you just made a selection.
- From the list, choose the value 10.
- From the palette window, click on the color White for both the Fill row
and Text row of colors.
- Save the form and switch to Form view.
When you type characters into the password text box, notice that they do
not appear, but the cursor is present. The Courier font assigned to the
text box makes cursor movement and position clearly identifiable so that
the user has an idea of how many characters have been typed.
REFERENCES
For more information about the InputMask property, search for "text box:
for entering passwords," and then "InputMask Property," using the
Microsoft Access Help menu.
-or-
Search for "passwords: text box for entering," and then "InputMask
Property," using the Microsoft Access Help menu.
Keywords : kbusage ScrtOthr
Version : 1.0 1.1
Platform : WINDOWS
Issue type : kbhowto