if not rs.eof then do while not rs.eof . . . rs.movenext loop else response.write "no se encontraron registros" end if