Results 1 to 12 of 12
  1. #1
    chubbychub is offline Novice
    Windows 10 Access 2013 64bit
    Join Date
    Apr 2019
    Posts
    17

    mask input box when typing password

    hi, i have a file and to 'unlock' a sheet, i have a password as '123' but i need to hide this when typing in, or mask it when typing in the password as it shows the character when i type it in, i have attached the file with dummy data. please help, thank you. i tried to google, but google just send me to stray other subjects because of my lack of knowledge with access.
    Attached Files Attached Files

  2. #2
    kd2017 is offline Well, I tried at least.
    Windows 10 Access 2016
    Join Date
    Jul 2017
    Posts
    1,142

  3. #3
    isladogs's Avatar
    isladogs is offline MVP / VIP
    Windows 10 Office 365
    Join Date
    Jan 2014
    Location
    Somerset, UK
    Posts
    5,974
    I've not checked the previous lin but here is a version that works in both 32-bit and 64-bit Access
    Masked Input Box (isladogs.co.uk)
    Colin, Access MVP, Website, email
    The more I learn, the more I know I don't know. When I don't know, I keep quiet!
    If I don't know that I don't know, I don't know whether to answer

  4. #4
    chubbychub is offline Novice
    Windows 10 Access 2013 64bit
    Join Date
    Apr 2019
    Posts
    17
    Is it possible for someone to actually do it for me? i dont have any experience at access at all, and dont know what i am doing, googlin and googling and stray away from my objective. Thanks in advanced.

  5. #5
    moke123's Avatar
    moke123 is online now Me.Dirty=True
    Windows 11 Office 365
    Join Date
    Oct 2012
    Location
    Ma.
    Posts
    1,651
    Did you even look at the link in post#2?

    Even has pictures

    If this helped, please click the star * at the bottom left and add to my reputation- Thanks

  6. #6
    chubbychub is offline Novice
    Windows 10 Access 2013 64bit
    Join Date
    Apr 2019
    Posts
    17
    yes, but when i go to the 'Data' tab, i dont see anywhere it says 'input mask' i dont even have that option when i click on property sheets

  7. #7
    davegri's Avatar
    davegri is online now Excess Access
    Windows 11 Access 2019
    Join Date
    May 2012
    Location
    Denver
    Posts
    3,407
    yes, but when i go to the 'Data' tab, i dont see anywhere it says 'input mask' i dont even have that option when i click on property sheets
    Do this:

    Click image for larger version. 

Name:	pwtb.png 
Views:	17 
Size:	13.2 KB 
ID:	49474

  8. #8
    chubbychub is offline Novice
    Windows 10 Access 2013 64bit
    Join Date
    Apr 2019
    Posts
    17
    is that in the sample file i uploaded? i dont see any of that from the tutorial in the sample file ( i dont even know where to find the inputbox) i been looking on the forms, can somone look at the sample file please?

  9. #9
    davegri's Avatar
    davegri is online now Excess Access
    Windows 11 Access 2019
    Join Date
    May 2012
    Location
    Denver
    Posts
    3,407
    All the suggestions here are assuming your input is typed into an Access form, however your sample download is using an inputbox for the password. I don't think there's a way for native Access to mask that input. Maybe you could do it with a Windows API.
    Scrap the inputbox and use a normal Access form.
    Also, you should present your data to the user with a form, not directly via an open table or query.

  10. #10
    chubbychub is offline Novice
    Windows 10 Access 2013 64bit
    Join Date
    Apr 2019
    Posts
    17
    is there a way you can do it for me on the sample sheet? i dont know how to do it and dont really understand enough. I mean i odnt use it for anything else, and not really familiar with vba. I just got that code from google because it worked, and that was a milestone for me. Thanks in advanced.

  11. #11
    Join Date
    Jan 2017
    Location
    Swansea,South Wales,UK
    Posts
    4,914
    Most people would use a form and a textbox?
    Please use # icon on toolbar when posting code snippets.
    Cross Posting: https://www.excelguru.ca/content.php?184
    Debugging Access: https://www.youtube.com/results?sear...bug+access+vba

  12. #12
    isladogs's Avatar
    isladogs is offline MVP / VIP
    Windows 10 Office 365
    Join Date
    Jan 2014
    Location
    Somerset, UK
    Posts
    5,974
    As already suggested, it isn't possible to do this in an input box without code
    However if you look at the link I provided in post #3, all the code needed is supplied together with an explanation of how to use it.

    Whichever approach you use, you need to do the small amount of work needed yourself or you will learn nothing.
    Colin, Access MVP, Website, email
    The more I learn, the more I know I don't know. When I don't know, I keep quiet!
    If I don't know that I don't know, I don't know whether to answer

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

Similar Threads

  1. VBA to apply Password input mask
    By Ant_Snell in forum Forms
    Replies: 2
    Last Post: 02-02-2022, 08:31 AM
  2. CheckBox to unmaks a password input mask
    By d9pierce1 in forum Programming
    Replies: 6
    Last Post: 10-30-2020, 01:28 AM
  3. Replies: 6
    Last Post: 04-14-2018, 03:35 PM
  4. Replies: 2
    Last Post: 02-27-2015, 10:03 PM
  5. Web Database: Input Mask for Password
    By besuchanko in forum Forms
    Replies: 3
    Last Post: 07-25-2013, 03:28 PM

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