"SELECT * FROM table WHERE id=" & text1.text And "name=" & text2.text
"SELECT * FROM table WHERE id=" & text1.text & " And name='" & text2.text &"';"