Looking at your SQL, you are using strRedID and strPassword as literal criteria instead of their values. You need to substitute the values of these into the SQL string :-<br><br>strSQL = "Select RepID, Password, UserAccessLevel From RepID Where RepID = '" & strRepID & "' And Password = '" & strPassword & "'"<br><br>Note the apostrophies around the inserted values. These are needed since the values are strings. You could use quotes, but these must appear doubled in a string to be part of that string.(Each time you want a " to appear in your string you must use "" which reduces the readability of your SQL).<br><br>Regards,<br>Tim