I have 2 fields in my database namely username and password.i also created a login form with 2 textbox and 2 command buttom.textbox1 is for username and textbox2 for password.i have link the form to the database already.now how can i get data in the textbox to correspond to data in the database.so that when the name and password entered is correct,a new form opens.

Enter text in the textboxes
Select the records from the database and look for a match.
If found, open the new form.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.