You would want something like this
employeepassword= DLookup("EmployeeUserPass", "tbl_Employee", "[EmployeeUserName]= """ & txtName & """")
To get the user password
See this thread on changing a users password. You should be able to use the code on there to make a login form...