hi there
First of all, I'm very glad that I found this big online comunity. I hope I will find the answer for my problem.
It might have been asked before so please excuse me if so.
So I have to create a logon form to connect to a database
the database has a table called "users" where the user_id, username and password for each user is stored.
I'm having trouble solving the authentication part where the user and password typed in form is compared with the values stored in table records. I didn't use a combox to select the user in the form, I used two textboxes, first for username and second from password. I've added one button for validating the authentication. As I recall, I have to put the solution at the "on click" event for this button.
So everyone who wants to log in must type both the user name and password into the fom and the press the button :). Please point to a solution for validating the authentication.
Other information I can provide
User_ID field's type is number
Username and Password fields' type is text
What's the easiest way to match the data typed in the form with the values in table records?
Please answer with the VBA code. Thanks in advance
First of all, I'm very glad that I found this big online comunity. I hope I will find the answer for my problem.
It might have been asked before so please excuse me if so.
So I have to create a logon form to connect to a database
the database has a table called "users" where the user_id, username and password for each user is stored.
I'm having trouble solving the authentication part where the user and password typed in form is compared with the values stored in table records. I didn't use a combox to select the user in the form, I used two textboxes, first for username and second from password. I've added one button for validating the authentication. As I recall, I have to put the solution at the "on click" event for this button.
So everyone who wants to log in must type both the user name and password into the fom and the press the button :). Please point to a solution for validating the authentication.
Other information I can provide
User_ID field's type is number
Username and Password fields' type is text
What's the easiest way to match the data typed in the form with the values in table records?
Please answer with the VBA code. Thanks in advance
Comment