non capisco perchè mi da quest'errore
Microsoft OLE DB Provider for ODBC Drivers error '80040e10'
[Microsoft][Driver ODBC Microsoft Access] Parametri insufficienti. Previsto 1.
/reserved/corsi/temp.asp, line 21
codice:
Set objRS = Server.CreateObject("ADODB.Recordset")
'******************CREO RS PER L'INSERIMENTO DELLE DATE*****************'
' Set the SQL Statement to get the information from the database
strSQL = "SELECT newlesson.lezione " & _
"FROM newlesson INNER JOIN newstudlesson ON newlesson.id = newstudlesson.[id_lezione] " & _
"WHERE (((newstudlesson.studente)=' & studente & ')) " & _
"GROUP BY newlesson.lezione;"
objRS.Open strSQL, objConn
%>
Perchè nell'inner join devo mettere [id_lezione] tra parentesi quadrate?