salve,
vorrei eseguire una select su 2 tabelle contemporaneamente, ho tentato di farlo in questo modo e purtroppo mi restituisce un errore..
incollo il codice:
<%
SQL="Select * FROM sub_cat LEFT JOIN catLinks ON sub_cat.cat_id=catLinks.id"
set mostra=conn.execute(SQL)
while not mostra.eof%>
<%=mostra("sub_cat.id")%>
<%=mostra("catLinks.name_cat")%>
<%=mostra("sub_cat.name_scat")%>
<%
mostra.movenext
wend
set mostra=nothing
%>
ERRORE:
ADODB.Recordset error '800a0cc1'
Item cannot be found in the collection corresponding to the requested name or ordinal.
Nel db le due tabelle ed i relativi campi esistono, cat_id e id sono entrambi numerici
cosa potrebbe essere???
grazie



Rispondi quotando