Help For Hiding Password Typing Entry Xxxxx

JUDO

Registered User.
Local time
Today, 00:17
Joined
Aug 21, 2003
Messages
26
Can anyone help to tell me what needs to be entered in this code to enable xxxxx to appear into the enter password box so people cannot view what there typing in.


Private Sub New_Order_Click()

Dim strInput As String
Dim strMsg As String

Beep
strMsg = "Please enter your password."
strInput = InputBox(Prompt:=strMsg, title:=" Password")
If strInput = "1111" Then 'password is correct
'DoCmd.GoToRecord , , acLast
'DoCmd.GoToRecord , , acNext
SendOrder.Enabled = True
SendOrder.SetFocus
Date_Required.Enabled = True
Combo268.Enabled = True
Text266.Enabled = True
Text272.Enabled = True
Text274.Enabled = True
Text276.Enabled = True
Text278.Enabled = True
Text280.Enabled = True
Text282.Enabled = True
Text284.Enabled = True
Text288.Enabled = True
Text292.Enabled = True
Text294.Enabled = True
Text296.Enabled = True
Text298.Enabled = True
Text284.Enabled = True
Text302.Enabled = True
Combo334.Enabled = True
Text338.Enabled = True
Text340.Enabled = True
Text130.Enabled = True


Thanks in advance JUDO
 
In the properties for the text box set the Input mask to "Password".
 
JUDO said:
Can anyone help to tell me what needs to be entered in this code to enable xxxxx to appear into the enter password box so people cannot view what there typing in.

You cannot format an inputbox.
What you can do, is create a new form with just one textbox.
You then must do what jkl0 says: set the Input mask to "Password"
The result from the textbox you put in a variable.

Frank
 
FLM said:
You cannot format an inputbox.
Frank
Yes you can format an input box to hide the keyed values.

I do not like to use input boxes for a variety of reasons but if you really have the need to do it then check this out... Disable Shift Key
 
Help for hiding password in input box

To GHUDSON.
I think you answer is very good if Iwanted to hide the shift key but how do Iuse this to hide the key strokes in a input box??????:rolleyes:
 
JUDO said:
To GHUDSON.
I think you answer is very good if Iwanted to hide the shift key but how do Iuse this to hide the key strokes in a input box??????:rolleyes:
Not sure if you actually read the thread in the above link I gave you but post #19 by hooks has the code you seek. :p
 

Users who are viewing this thread

Back
Top Bottom