Hey all. Im just learning VB and i want to make a login screen for my program. there will be two textboxes and a command button. When you click the command button it checks the information with whats in the database and if its correct loads the next form and if its not comes up with an error. Ive made the database with two fields: Username and Password but i dont know how to set up the code in VB6 and get it to work.