skusate x il codice precedente (vi era un orrore con la if)
diceiamo ke potresti fare una cosa del genere lavorando con un solo campo e non con 2.
'il mio è solo un esempio nn testato.
codice:dim filtro as string if eta=> 0 and eta <=18 then filtro="#0# and #18#" elseif eta=> 19 and eta <=50 then filtro="#19# and #50#" elseif eta=> 51 and eta <=999 then filtro="#51# and #999#" end if SQL="Select * from tabella where eta_cliente between" & filtrociao