Pues si, la forma mas intuitiva de hacerla es incrementar la sentencia SQL dependiendo de los parametros que llegan
Código:
strSQL = "SELECT campo FROM tabla "
if campo_algo <> "" then
if argcount = 0 then
strSQL = strSQL & " WHERE "
else
strSQL = strSQL & " AND "
end if
strSQL = strSQL & " campo = "&valor
argcount = argcount + 1
end if
etc...