Password a textbox (1 Viewer)

moose

c'mon Chelsea
Local time
Today, 18:25
Joined
May 18, 2001
Messages
139
i have a form and on this form i have a textbox labeled "Authorised By:"
i want the text box passworded so that the name entered into it must relate to a password to stop unauthorised people trying to put their name in the field.

Is this easy to do?

Is there a better way of doing it
 

Mile-O

Back once again...
Local time
Today, 18:25
Joined
Dec 10, 2002
Messages
11,316
Set the textbox's InputMask to Password and use its before update event to check (with a DLookup or whatever method you plan on) if the password is allowed. If not , Set Cancel = True, and then do all the stuff that authorised people can do.
 

moose

c'mon Chelsea
Local time
Today, 18:25
Joined
May 18, 2001
Messages
139
sorry to be a pain, but could you go into detail a bit more as im not to hot on coding
 

Mile-O

Back once again...
Local time
Today, 18:25
Joined
Dec 10, 2002
Messages
11,316
Where are you holding the passwords? In a table?
 

moose

c'mon Chelsea
Local time
Today, 18:25
Joined
May 18, 2001
Messages
139
i was going to create a table to store the passwords and restrict the access to it
is this the best way?
 

Users who are viewing this thread

Top Bottom