scusami.... mancava il primo pezzo. Prima di quello c'è:
codice:SQL = "" SQL = SQL & "select Giocatori.CodiceGiocatore from Punteggi, Giocatori " SQL = SQL & " where Punteggi.CodiceGiocatore = Giocatori.CodiceGiocatore " SQL = SQL & " and Giocatori.Sesso = 'M'" SQL = SQL & " and Punteggi.flgRitirato = False" SQL = SQL & " and Punteggi.flgNonPartito = False" SQL = SQL & " and CodiceGara = " & Request.QueryString("Cod") SQL = SQL & " order by Colpi asc, Punteggio desc" Set Ultima = Server.CreateObject("ADODB.Recordset") Ultima.open SQL,Conn,3,1

Rispondi quotando
