Ciao, ho un problema con questo codice perchè restituisce:
codice:
Error Type:
Active Server Pages, ASP 0113 (0x80004005)
The maximum amount of time for a script to execute was exceeded. You can change this limit by specifying a new value for the property Server.ScriptTimeout or by changing the value in the IIS administration tools.
questo è il code:
codice:
Set rs = Server.CreateObject("ADODB.Recordset")

SQL = "SELECT * FROM BlocNum WHERE id = "&id&" and Invio IS NULL"
rs.Open SQL, Open, 3, 3 

If rs.Eof then
response.write "negativo"

Else

SQL = "SELECT * FROM Interr"
Set rec = myConn.Execute(SQL)

SQL1 = "SELECT * FROM BlocNum WHERE id="&id
Set rec1 = myConn.Execute(SQL1)

Do while Not rec1.Eof

If REC1("operazione") < REC("operazione") then
response.write "segnalazione"
end if

Rec.AddNew

 cvalore = Rec("cvalore")

Rec.Update

rec.Movenext
Loop
end if