Ver Mensaje Individual
  #1 (permalink)  
Antiguo 11/04/2003, 13:49
Avatar de mebarak
mebarak
 
Fecha de Ingreso: julio-2001
Ubicación: México, Distrito Federal
Mensajes: 133
Antigüedad: 23 años, 10 meses
Puntos: 0
Pregunta no me Funciona Exit do

por que no me funcionará Exit do , mi codigo es el siguiente:

Cita:
<%
Dim rep, comprobacion
rep = 1
Do while not DS.EOF
rep = rep + 1
%>
<td width="79%">&nbsp;<a href="http://www.perfoparts.com/perfo/productos/Detalle.asp?prod=<%=DS.FieldByName("id").Value%>" ><%=DS.FieldByName("Producto").Value%></a></td>
<td width="21%"><%=strSearch%></td>
</tr>
<%
DS.MoveNext
if rep = 3 then
exit do
loop
%>
En mi navegador me aparece el siguiente error:

Cita:
Microsoft VBScript compilation error '800a040e'

'loop' without 'do'

/perfo/productos/detalle.asp, line 272
loop
^
Gracias por su ayuda...
-::[Mebarak]::-