Results 1 to 4 of 4
  1. #1
    redbull's Avatar
    redbull is offline Competent Performer
    Windows XP Access 2003
    Join Date
    Mar 2012
    Location
    Missouri
    Posts
    480

    Hello and good morning, Remove imput mask on a table with VBA

    This application has 100 users, each user stores around 40 passwords.... SO a common request I get is to allow them to see their passwords in the application, currently this table column has an input mask of password.



    Everyone is forgetting their passwords, all the time.

    So, My remedy will be a button that says "Show Passwords" Once clicked, they will have to enter a password. If the password matches what is on file... Then I want to be able to remove the input mask allowing them to view their passwords. Then on form close, I can flip the input mask back on.

    I was thinking about just password protecting the entire application, but that does not account for people who forget to lock their PC while away from their desk.

    Quick bits.

    The front end, links to a credentials table in a separate database

    Credentials.mdb is the credentials file
    tblwebcreds is the table housing the information
    chrwebpass is the column with the input mask


    I have found something like this in the past, but I don't know if specifically applied to input masks, I think it applied towards text boxes.

  2. #2
    NTC is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    Nov 2009
    Posts
    2,392
    I've never been asked this question. I believe it would depend on whether or not the mask is applied at the table field property level or at the form level.

    At the table field property level - I tend to think nothing can be done (although I could be wrong on this point) and you would need to take the common approach of just having them create a new PW that over writes the old forgotten one.....

    At the Form level - then this means you as admin can view the PW in the table; and so it would be easy enough to make a hidden text box on the form that is not masked - and trigger its visibility appropriately.

    Not sure this helps a whole lot but good luck on this,

  3. #3
    redbull's Avatar
    redbull is offline Competent Performer
    Windows XP Access 2003
    Join Date
    Mar 2012
    Location
    Missouri
    Posts
    480
    It is at the Table Field Property Level

    Well, This is not a time pressing matter so I will start my googling extravaganza when needed. Thank you for the advice/input on the matter. I'm sure I can find a decent/acceptable work around. I am a master of coming up with workarounds, just read the signature.

  4. #4
    Rawb is offline Expert
    Windows XP Access 2000
    Join Date
    Dec 2009
    Location
    Somewhere
    Posts
    875
    Well, if you set it up as a Continuous Form and show the their passwords through a Form Field, you should be able to just remove the input mask on your Form Field to show the password.

    Never actually tried it myself though so I'm not sure.

    If that doesn't work, you could dump it to a temporary Table with a regular Text Field instead of a Password one and display that Table instead.

    P.S.
    Since the "Password" Field isn't actually encrypted, I don't use it at all on any of my databases. I just store the data as a regular text string. After all, if the user's smart enough to access the Table directly, they're smart enough to change the Field format to make the passwords visible too so there's no real point.

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

Similar Threads

  1. Table Column Format/Input Mask
    By mkc80 in forum Access
    Replies: 7
    Last Post: 11-23-2012, 02:27 PM
  2. Replies: 3
    Last Post: 08-01-2012, 05:47 PM
  3. Replies: 3
    Last Post: 10-24-2011, 11:42 AM
  4. Input Mask characters stripped from table to table
    By svcghost in forum Import/Export Data
    Replies: 2
    Last Post: 12-01-2010, 10:01 AM
  5. Imput Mask problem (TEXT)
    By Danzig in forum Forms
    Replies: 3
    Last Post: 10-28-2010, 06:47 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