On 13 Mar 2006 00:37:59 -0800, Les wrote:
Hi all, i have an input box that i need the user to put in a password
and just wondered if it is possible to just show a * as he types in the
letters as per the normal password inputbox ?
any help is much appreciated.
best regards,
Create an unbound form with an unbound control.
Set the control's input mask property to "Password".
Add a command button to this form.
Code it's click event:
Me.Visible = False
Name this form "PassForm"
You would then call this form (instead of the InputBox).
DoCmd.OpenForm "PassForm", , , , , acDialog
If Forms!FormName!ControlName = "The Password" then
' Correct password do whatever is wanted here
Else
' Wrong Password do something else.
End if
DoCmd.Close acForm, "PassForm"
--
Fred
Please respond only to this newsgroup.
I do not reply to personal e-mail