% fAbreCon() estado = replace(request("estado"), "'", "") if estado <> "" then ssql = "select * from representantes_tec where rt_estado='" & estado & "' and rt_ativo = 1 order by rt_nome" set rs = cn.execute(ssql) end if 'cidade = replace(request("cidade"), "'", "") 'if cidade <> "" then 'sql = "select distinct(a1_nome), * from sa1odc where a1_est='" & estado & "' and a1_tipo=1 order by a1_nome" 'set rs = cn.execute(sql) 'end if %>