Hi to all,
I have a code for opening a password of a form, but the password that i type is not hidden on the dialog box. How can i modify the code such that the password that i type will be shown as asterisk or other character and not the actual values that i typed.
Here is my code:
Private Sub Text65_DblClick(Cancel As Integer)
Dim strPassword As String
strPassword = "My Passowrd"
If InputBox("Please Enter Password to Proceed") = strPassword Then
DoCmd.OpenForm "DataChecking", acFormDS, , , acFormEdit
Else
MsgBox "You are not authorize!!!"
End If
End Sub
I have a code for opening a password of a form, but the password that i type is not hidden on the dialog box. How can i modify the code such that the password that i type will be shown as asterisk or other character and not the actual values that i typed.
Here is my code:
Private Sub Text65_DblClick(Cancel As Integer)
Dim strPassword As String
strPassword = "My Passowrd"
If InputBox("Please Enter Password to Proceed") = strPassword Then
DoCmd.OpenForm "DataChecking", acFormDS, , , acFormEdit
Else
MsgBox "You are not authorize!!!"
End If
End Sub