S
salmonella
Simple question (but not for me). if I have the following select string:
Dim fsuper As Variant
Set fsuper = Forms!pw_temp_form!super
str = "select * from rwop_memo_all where active = 'yes' and supervisor = " &
“ ‘ “ & fsuper & “ ‘ “
How do I add another criterion to this string with a variable like I did for
supervisor? Adding for example……. field2 = " & “ ‘ “ & variant2 & “ ‘ “
thanks
Dim fsuper As Variant
Set fsuper = Forms!pw_temp_form!super
str = "select * from rwop_memo_all where active = 'yes' and supervisor = " &
“ ‘ “ & fsuper & “ ‘ “
How do I add another criterion to this string with a variable like I did for
supervisor? Adding for example……. field2 = " & “ ‘ “ & variant2 & “ ‘ “
thanks