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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Clear it Out !!!

Status
Not open for further replies.

spudmizer

Technical User
Jul 25, 2002
35
US
I have a form. Use it as the password screen has two textbox and two buttons
UserId UserPass Enter and Cancel
WHen I login it, it works fine, but I have a button to sign in as another user, click it you go back to the Password Form, HOWEVER the previous name AND password is already entered in, how do I have it clear the password text box upon entry INTO the form !!!
 
In the On_load event of the form enter:
Me.UserID = Null
Me.UserPass = Null
Me.UserID.Setfocus

Use the name of the textboxes as shown in the property sheets
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top