Results 1 to 6 of 6
  1. #1
    khughes46 is offline Competent Performer
    Windows 8 Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Grapevine, TX
    Posts
    231

    Mask Password in InputBox

    I am using the following code to protect and open a form, it works fine. However, when the user types in the password, it is visible to all. How do I mask the password with asterisks (*)?

  2. #2
    CJ_London is online now VIP
    Windows 8 Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    11,412
    set the input mask property of the field or control to 'password' (no quotes)

  3. #3
    khughes46 is offline Competent Performer
    Windows 8 Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Grapevine, TX
    Posts
    231
    I do not know where to find the input mask property of the field or control. Where is it to be found?

  4. #4
    CJ_London is online now VIP
    Windows 8 Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    11,412
    in table design for field, click on the field and you'll find it on the general tab at the bottom

    for controls, in form/report design click on the control and if not already open, choose properties button on the ribbon to open properties (or right click on the control and select properties) and you'll find it under the data tab

  5. #5
    khughes46 is offline Competent Performer
    Windows 8 Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Grapevine, TX
    Posts
    231
    I have my form open in design view, the code I am using is in the On Open event and I don't see any control under the data tab on the property sheet. What am I missing?

  6. #6
    CJ_London is online now VIP
    Windows 8 Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    11,412
    I never mentioned code - see image - select your control, open the property sheet click on the data tab
    Click image for larger version. 

Name:	Capture.JPG 
Views:	17 
Size:	39.8 KB 
ID:	21520

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 4
    Last Post: 03-22-2015, 12:46 AM
  2. Replies: 2
    Last Post: 02-27-2015, 10:03 PM
  3. *** mask password in inputbox
    By Kvracing in forum Modules
    Replies: 13
    Last Post: 11-21-2014, 07:22 AM
  4. Web Database: Input Mask for Password
    By besuchanko in forum Forms
    Replies: 3
    Last Post: 07-25-2013, 03:28 PM
  5. Inputbox
    By mladen273 in forum Programming
    Replies: 8
    Last Post: 12-29-2012, 05:32 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums