codice:
Set tt3 = Server.CreateObject("ADODB.Recordset")
tt3.Open "SELECT MIN(numero) FROM `torneo` WHERE casa = '"&casa&"'", conn
If not tt3.EOF Then
response.write tt3("numero") & "

"
Questo il codice che ho fatto per selezionare l'ultimo record inserito con tali requisiti di ricerca. Ma:
codice:
ADODB.Recordset error '800a0cc1' 

Item cannot be found in the collection corresponding to the requested name or ordinal.
L'errore che contegia la linea in grasseto del codice che vi ho scritto... il database è vuoto. Come fare?