Ver Mensaje Individual
  #5 (permalink)  
Antiguo 21/06/2002, 08:37
Avatar de bakanzipp
bakanzipp
 
Fecha de Ingreso: noviembre-2001
Ubicación: santiago de shilli
Mensajes: 2.554
Antigüedad: 23 años, 5 meses
Puntos: 0
Re: porque no acepta el objrs.fields

pero socio donde dejo el if que le dije que pusiera

Cita:
antes de hacer esto
objRS.fields("TOTAL_ACTUAL")

fijate si el registro viene con datos o no
if not objRS.eof and not objRS.bof
Código:
  

<table border=1>
<tr>
<td><B>PRODUCTO</B></td>
<td><B>CANTIDAD</B></td>
<td><B>ID_PRODUCTO</B></td>
</TR>
<% if not (objRS.Eof) and not objRS.bof) then
while (not objRS.Eof) 
%>
<tr> 
<td></td>
<td><%=objrs("total_actual")%> </td>
<td><%=objrs("id_producto")%></td>
</tr>
<% 
objRS.MoveNext 
wend 
end if
%>