SAlve, come da titolo ho un probvlema con la somma di alcuni dati:

Il codice è il seguente:

codice:

t6V = (RsSubordine.Fields.Item("t6").Value)
t8V = (RsSubordine.Fields.Item("t8").Value)
t10V = (RsSubordine.Fields.Item("t10").Value)
t12V = (RsSubordine.Fields.Item("t12").Value)
t14V = (RsSubordine.Fields.Item("t14").Value)
t16V = (RsSubordine.Fields.Item("t16").Value)
t36V = (RsSubordine.Fields.Item("t36").Value)
t37V = (RsSubordine.Fields.Item("t37").Value)
t38V = (RsSubordine.Fields.Item("t38").Value)
t39V = (RsSubordine.Fields.Item("t39").Value)

subquant = (t6V+t8V+t10V+t12V+t14V+t16V+t36V+t37V+t38V+t39V)

 Response.Write(subquant)
 response.End()
il problema è che non stampa nulla a video.

Se vado a controllare nella tabella MtSql, i dati ci sono.

Non è nememno un problema di recordset perchè se faccio:

codice:
 Response.Write((RsSubordine.Fields.Item("t10").Value))
 response.End()
mi restituisce il dato giusto.

Qualche suggerimento, please.

Grazie e buona giornata a tutti