tyedyejenn
Programmer
I am writing a Visual basic program and i am getting a type mismatch error on my SQL statement. I am new to SQL so forgive my stupidity. Here is my SQL statement<br><br>strSQL = "SELECT RepID, Password, UserAccessLevel " & _<br><br>strSQL = strSQL + "FROM RepIDTable " & _<br><br>strSQL = strSQL + "WHERE RepID='" & strRepId & _<br><br>strSQL = strSQL + "AND Password='" & strPassword & "';"<br><br>If anyone can help I would appreciate it<br>thanks