Ver Mensaje Individual
  #1 (permalink)  
Antiguo 10/04/2003, 17:08
Ogre
 
Fecha de Ingreso: marzo-2003
Ubicación: Santiago, Chile
Mensajes: 17
Antigüedad: 22 años, 1 mes
Puntos: 0
Como terminar el do while

Como termino el do while si se cumple una condicion, por ej:

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
while end
end if
rs.movenext
loop%>

Quiero que cuando X sea mayor igual a 4 se salga del Do While, probe con el while end, pero no me resulta, me podrian decir por favor, muchas graciassss!!!



__________________
mefisto nom diegme!!