OK.
La cosa che mi manda in "bestia" è che sulla riga rossa viene stampato regolarmente il valore di "eseguita" quindi se è true o false; mentre nelle righe verdi stampa sempre "ciccio"...codice:if utente <> 22 and utente <> 53 and utente <> 60 then strSQL = "Select * from Message where id_uoat = "&iduoat&" and DueDate = #" &dtDate &"# order by DueDate" else strSQL = "Select * from Message where DueDate = #" &dtDate &"# order by DueDate" end if Set objREC = Server.CreateObject("ADODB.Recordset") objREC.Open strSql, objConn, 3, 3 Do While NOT objREC.EOF eseguita = objREC("eseguita") response.write eseguita &" " objREC.MoveNext Loop objrec.close set objrec = nothing objconn.close set objconn = nothing For I = 1 to 10 If I = 10 then strAdder = 0 else strAdder = I + 1 end if Response.Write "..." if eseguita = False then Response.write "ciccio" else Response.write "pippo" end if Next end if

Rispondi quotando