I have created a pretty extensive database in access that tracks all sales for our company. In order for our sales reps to be able to have access to the reports, I would like to have them "log in" to the database by entering a username and password. I have a form which asks for their username and password. I also have a table which stores their username and password. I have a SELECT query which looks for the username and password that the user enters into the login form. What I need now is an IF THEN statement that pretty much says "IF username <> NULL (username exists in the USERS table) THEN IF password <> NULL (password exists in the USERS table) THEN allow the user access into the reports section of the database ELSE give them an error message that says "You entered an incorrect username, password or both! Please try again!" (and redirects them back to the login form). In the ASP world, I have done this using sessions...but am not too sure how to simulate a "session" in Access. Any help would be greatly appreciated!