Numbers don't need quotes round them and don't put spaces between the quotes for strings. It should be
,"[TextFieldNameInTable] = '" & var1 & "' and [NumberFieldNameInTable] = " & var2
and of course you need to replace those field names and variables with real ones or access won't recognise them.