Results 1 to 3 of 3
  1. #1
    jj1 is offline Competent Performer
    Windows 7 64bit Access 2010 64bit
    Join Date
    May 2014
    Posts
    128

    Using Change Password- Form doesn't load as blank

    Hi



    My problem is when my password change form loads it shows previous password in my txtConfPW textBox
    attached Doc1.zip is the snapshot



    I am using following code

    Private Sub txtConfPW_AfterUpdate()


    'Verify new password
    If Me.txtPassword = Me.txtConfPW Then
    MsgBox "Password updated!", vbOKOnly
    Me.PWReset = False
    DoCmd.Close acForm, "frmPasswordChange"
    Else
    MsgBox "Passwords don't match please re-enter!", vbOKOnly
    Me.txtPassword.SetFocus
    End If
    End Sub

    and have txtConfPW as bound text box.

  2. #2
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,522
    set txtconfPW.visible = false

    or
    keep the box visible but obsure the word in the box, set the property of the text box INPUT MASK = Password

  3. #3
    jj1 is offline Competent Performer
    Windows 7 64bit Access 2010 64bit
    Join Date
    May 2014
    Posts
    128
    Thanks for your help. But its not making any difference or if you could guide where i should in code I set txtconfPW.visible = false

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

Similar Threads

  1. Replies: 8
    Last Post: 07-27-2012, 12:23 PM
  2. Replies: 1
    Last Post: 06-22-2012, 08:05 AM
  3. Replies: 5
    Last Post: 06-11-2012, 08:47 AM
  4. Replies: 3
    Last Post: 08-23-2011, 04:35 PM
  5. Change the text box color on form load
    By mikec in forum Programming
    Replies: 2
    Last Post: 03-01-2010, 11: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