Ver Mensaje Individual
  #2 (permalink)  
Antiguo 10/04/2003, 17:13
Avatar de Fr@Nc3$c0
Fr@Nc3$c0
 
Fecha de Ingreso: abril-2002
Ubicación: Barcelona (Spain)
Mensajes: 710
Antigüedad: 23 años, 1 mes
Puntos: 1
Hola, prueba con éste código que te he modificado compañer@:

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<%
n = 0
x = 0
do while not RS.eof
%>
<td VALIGN="top"><b><%=rs("Nombre")%></b><br>
<%=RS("apellido")%>
</td>
<%
n = n + 1
x = x + 1
if n = 2 then
%>
<tr>
<%n = 0
end if
if x >= 4 then
EXIT DO
end if
RS.movenext
loop%>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Para cortar un "DO WHILE" o "WHILE" por lo sano como quieres es:

EXIT DO


Dime que tal!

Suerte y Salu2!