scusate se abuso della vostra pazienza!

così

if v6<>"" then
SQL= "SELECT * FROM cat where dimymin < '"&v6&"' and dimymax > '"&v6&"'"
end if

o così

if v6<>"" then
SQL= "SELECT * FROM cat where dimymin < '%&v6&%' and dimymax > '%&v6&%'"
end if

:master: :master: