Query with an input mask [Password]

Reppihsrow

New member
Local time
Tomorrow, 05:09
Joined
Jun 13, 2011
Messages
11
How can I do a query that if it is ask and I type, it willl be shown as ******* and not a text. thanks for your help. I am a new user in Access 2007.
 
You can use;
Code:
    If CBool(InStrB(Me.Password, Me.Password2)) Then
        MsgBox "Congratulations your Passwords match"
    Else
        MsgBox "Epic Fail"
    End If
 
You can use;
Code:
    If CBool(InStrB(Me.Password, Me.Password2)) Then
        MsgBox "Congratulations your Passwords match"
    Else
        MsgBox "Epic Fail"
    End If

- But where I will put that in a simple query?
 
You would need to put that in a Command Button Click Event or other form control event.
 
hi maybe if it is just to hide the input in your password text box
In Design View click your password text box choose properties choose Data choose Input Mask choose Password then your entries will be ****** don't forget your password
 
hi maybe if it is just to hide the input in your password text box
In Design View click your password text box choose properties choose Data choose Input Mask choose Password then your entries will be ****** don't forget your password

- this is the first thing that I did. But it changes nothing in the query. I don't know why.
 
Have a look at the code behind the On Click event of Command8, in the attached sample.
 

Attachments

Users who are viewing this thread

Back
Top Bottom