prova e facce sape'
codice:' ...aggiorno i puntipar SQL = "select tabellapar.*, Punteggi.*, Giocatori.NomeGiocatore, Giocatori.Sesso from giocatori INNER JOIN (tabellapar RIGHT JOIN punteggi ON tabellapar.scost = punteggi.scost) ON Giocatori.CodiceGiocatore = Punteggi.CodiceGiocatore WHERE CodiceGara = " & Request.QueryString("Cod") & "" Response.Write "prima sql...: " & SQL & " " '<<<<<< Response.flush '<<<<<< Set par = Server.CreateObject("ADODB.Recordset") par.open SQL,Conn,3,1 if not par.EOF then par.MoveFirst ' <<<<< sarebbe inutile while not par.EOF Spunti = par("minigolf") sPunti=Replace(sPunti, ",", ".") '<<<<<< Response.Write "sPunti...: " & sPunti & " " '<<<<<< Response.flush '<<<<<< SQL2 = "" 'SQL2 = SQL2 & "update punteggi set punti = " & Ccur(Spunti) '<<<<<< SQL2 = SQL2 & "update punteggi set punti = " & Spunti '<<<<<< SQL2 = SQL2 & " where CodiceGiocatore = " & par("CodiceGiocatore") SQL2 = SQL2 & " and CodiceGara = " & Request.QueryString("Cod") Response.Write "seconda sql.: " & SQL2 & " " '<<<<<< Response.flush '<<<<<< set rs=Conn.execute (SQL2) par.MoveNext wend end if

Rispondi quotando
