|
| G'day Lakrom,
To help you out with this it'd be advantegeous if you included the error description as well. As your .asp page falls over it should come up with err description as well as a script line number that cuased the err (this is a default behaviour for MS IIS).
BTW, in the code below it seems that the line VFech=dRs("fecha") should be inside your inner loop rather than outside
...................................
...................................
...................................
Do until VFech<>dRs("Fecha")
Response.Write("<tr> ")
Response.Write("<td width='10%' class='txtTable'>"&dRs("fecha")&"</td>")
Response.Write("<td width='10%' align='center' class='txtTable' >"&dRs("cod_producto")&"</td>")
Response.Write("<td width='30%' align='center' class='txtTable' >"&dRs("descripcion")&"</td>")
Response.Write("<td width='10%' align='center' class='txtTable' >"&dRs("puntos")&"</td>")
Response.Write("<td width='10%' align='center' class='txtTable' >"&dRs("cantidad")&"</td>")
Response.Write("<td width='30%' class='txtTable'>"&dRs("objetivo")&"</td>")
Response.Write("</tr>")
Total=cint(Total+cint(dRs("puntos")))
VFech=dRs("fecha")
dRs.MoveNext
Loop
VFech=dRs("fecha")
...................................
...................................
...................................
Cheers
|
|