IIS ASP - Re: Exception error (page ASP complete)

This is Interesting: Free IT Magazines  
Home > Archive > IIS ASP > December 2004 > Re: Exception error (page ASP complete)





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Re: Exception error (page ASP complete)
io

2004-12-31, 2:47 am

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

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com