I’ve gotten so far as creating a login form based off my tblUsers. I have a combo box that displays the User Names. I need help with a few things. One, after the user selects their user name and enters a password and clicks “Ok”, I need to (1) Validate the password, and then (2) Direct them to their specific form. My train of thought is to validate the password in code, and after it passes that, use CASE to direct which form to go to, based on the User Name selected. Next, I need to set that User Name as a global variable (for use in queries/form filters). So far, I’ve created a module with this:
Public UserName As String
I believe somewhere amidst the onclick procedure of the “Ok” button I need code that looks like this:
varUserName = Me.cboUserName
help?