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
%>