Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

InputBox with asteriscs

Status
Not open for further replies.

Folk

Technical User
Jun 5, 2001
14
US
Private Sub APROVADO_Exit(cancel As Integer)

Hi! I've built the code below into my Access form to make something like a "digital signature". It works well, except for the typed password, that doesn't appear as "*".
Is there any way to do this?

Thanks

Paulo
---------------------------------------------------------
Dim SN
SN = InputBox("Type the password to allow the filling of this field!", "PASSWORD")
If SN = "12345" Then
MsgBox "PASSWORD OK!"
Else
MsgBox "INVALID PASSWORD!"
FIELD2.SetFocus
FIELD2.Text = ""
FIELD1.SetFocus

End If

End Sub
 
Don't use an INPUTBOX, rather have the user put the password into a form resident text box and set the PasswordChar Property to * or any other character you choose.
 
Can you help me doing this?
I'm still a beginner...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top