Ciao a tutti...
Cosa vuol dire questo errore?
il codice è questo:codice:Microsoft JScript runtime error '800a000d' Type mismatch /aziende/elenco_fatture.asp, line 24
ed il link che uso è: elenco_fatture.asp?id=<%=Rs("id")%>codice:<%@LANGUAGE = JScript%> <% var id = parseInt(Request.QueryString("id")); if (isNaN(id)) { Response.Redirect("elenco_fatture.asp"); } var Rs = Cn.Execute("SELECT * FROM fatture WHERE id = " + id); var azione = new String(Request.QueryString("azione")); %> <html> <head> <title>Leggi i dati</title> <style type="text/css"> td { font: Normal 12px Verdana; } a { color: #0000FF; } a:hover { color: #FF0000; } </style> </head> <body> <table align="center" width="467" cellpadding="1" cellspacing="0" border="1"> <tr> <td height="26" colspan="3">Tutte le Fatture dell'Azienda:<font color="#FF0000"><%=Server.HTMLEncode(Rs("id"))%> ( Codice Azienda <%=Server.HTMLEncode(Rs("id"))%></a> ) </font></td> </tr> <% if (Rs.EOF) Response.Write("<td colspan=\"4\">Nessun dato</td>"); else while (!Rs.EOF) { %> <tr> <td width="46" align="center"><div align="left"><font color="#FF0000">N° <%=Server.HTMLEncode(Rs("n"))%></font> </div></td> <td width="253" align="center"><div align="right"><font color="#FF0000">"><%=Server.HTMLEncode(Rs("data"))%>/<%=Server.HTMLEncode(Rs("anno"))%></font></div></td> <td width="154" align="center"> <div align="right"><font color="#FF0000">Totale: € <%=Server.HTMLEncode(Rs("totale"))%></font></div></td> </tr> <tr> <td colspan="3"><div align="center"></div></td> </tr> <% Rs.Movenext(); } %> <tr> <td height="18" colspan="3">Inserisci</td> </tr> </table> </body> </html> <%Cn.Close()%>
Grazie per l'aiuto

Rispondi quotando