Ver Mensaje Individual
  #4 (permalink)  
Antiguo 03/06/2004, 11:06
Avatar de LeCLUB
LeCLUB
 
Fecha de Ingreso: abril-2003
Ubicación: Barcelona (España)
Mensajes: 205
Antigüedad: 22 años
Puntos: 1
Seguramente será poque intentas mostrar un RecordSet donde no hay nada. Utiliza EOF para mirar celda por celda que existan datos en el RecordSet antes de realizar el rs.MoveNext()

Ejemplo:

Código:
<table width="200" border="0" cellspacing="0" cellpadding="0">
<% While not Rs.EOF %>
  <tr>
    <td>
	<% if NOT Rs.EOF Then 
	response.write Rs("campo_tabla")
        Rs.MoveNext()
        end if %>
	</td>
    <td>
	<% if NOT Rs.EOF Then 
	response.write Rs("campo_tabla")
        Rs.MoveNext()
        end if %>
	</td>
    <td>
	<% if NOT Rs.EOF Then 
	response.write Rs("campo_tabla")
        Rs.MoveNext()
        end if %>
	</td>
  </tr>
<% Wend %>
</table>