asterix password

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • dale5804
    New Member
    • Nov 2007
    • 48

    asterix password

    hi im using the code below to password protect a button on a form.... is there any code i can use within the below to *asterix* out the password when typed in cheers.

    Code:
     Private Sub Edit_Staff_Click()
    Dim strInput As String, strMsg As String
    
       strMsg = "Enter your password to proceed."
       strInput = InputBox(Prompt:=strMsg, _
           Title:="SCRM Security Check")
    
       If UCase(strInput) = "people5804" Then
            DoCmd.OpenForm "Contacts", acNormal
       Else
            MsgBox "Sorry wrong password."
       End If
    End Sub
  • missinglinq
    Recognized Expert Specialist
    • Nov 2006
    • 3533

    #2
    For your field, goto Properties-Input Mask and select Password.


    Linq ;0)>

    Comment

    • dale5804
      New Member
      • Nov 2007
      • 48

      #3
      sorry... do you mean the properties for the 'input box' that pops up, as i can not goto properties for this.

      Comment

      Working...