Ciao-
Questa è una porzione di pagine ASP:
Non riesco ad estrarre il totale dei campi cl_A + cl_B di tutti i records estratti con la query sSQL...codice:Do Until Rs.eof sSQL = " SELECT * FROM " sSQL = sSQL & " _tabella " sSQL = sSQL & " WHERE 1 " sSQL = sSQL & " AND COD = '" & Rs("IDCODICE") & "' " Set rs1 = server.CreateObject("ADODB.Recordset") rs1.Open sSQL, cn if not rs1.eof then response.write rs1("IDCODICE") & " ===> " & rs1("cl_A") & " ===> " & rs1("cl_B") & " " end if rs1.close() set rs1 = nothing Rs.MoveNext() Loop
potete aiutarmi?
Grazie-

Rispondi quotando