ciao a tutti,
mi aiutate a risolvere questo problema?
Dopo aver prelevato i dati da un form li inserisco in una tabella(Artisti).
Successivamente devo inserire in una seconda tabella un dato (l'id che è di tipo contatore) che prelevo dalla prima e un valore nullo:
strsql3 = "SELECT * FROM [ClassifArtist]"
set rs3 = Server.CreateObject("ADODB.Recordset")
rs3.Open strsql2, conn, 1, 2
rs3.AddNew
strsql4 = "SELECT Artisti.idArtista FROM [Artisti] WHERE Artisti.password='"&x_password&"'"
set rs4 = Server.CreateObject("ADODB.Recordset")
rs4.Open strsql, conn, 1, 2
rs4.AddNew
rs3("punteggio")="0"
rs3("idArtista")=rs4(0)
rs3.Update
rs3.Close
Set rs3 = Nothing
Mi ritorna questo errore:
Item cannot be found in the collection corresponding to the requested name or ordinal.
qual'è il problema?

Rispondi quotando
