G
Guest
Hi all,
I have a form that contains confidential data, on the action of "Onload"
,i put the following code to oblige the one who wants to open it to put a
password:
Private Sub Form_Load()
Dim A
For r = 1 To 3
A = InputBox("Enter password")
If A = "24/04/2006" Then Exit Sub
Next r
MsgBox ("You are not authorized to open this page")
DoCmd.close
End Sub
It works very well,but when i type the password ,it appears like this :
24/04/2006
While i need help to make it appear like this : **********
Regards
I have a form that contains confidential data, on the action of "Onload"
,i put the following code to oblige the one who wants to open it to put a
password:
Private Sub Form_Load()
Dim A
For r = 1 To 3
A = InputBox("Enter password")
If A = "24/04/2006" Then Exit Sub
Next r
MsgBox ("You are not authorized to open this page")
DoCmd.close
End Sub
It works very well,but when i type the password ,it appears like this :
24/04/2006
While i need help to make it appear like this : **********
Regards