First of all, excuse me my bad english
you can execute
"SELECT Login FROM User WHERE Login = '" & sLogin &
"' AND Passwd = '" & sPasswd & "'"
but I always prefer to encrypt the password first, and save the encrypted password in the database, so when somebody wants to log on your system, the application sent the login and the password but encrypted.
Gonzalo S, from BOLIVIA