ciao a tutti
vorrei mettere insieme , come si fa?
<%
set N1 = Server.CreateObject("ADODB.Command")
N1.ActiveConnection = MM_numero_STRING
N1.CommandText = "UPDATE Cartelle SET [totale] = '"& (Numero.Fields.Item("totale").Value)-1 &"' WHERE N1 = '" & (estratto.Fields.Item("1").Value) & "'"
N1.CommandType = 1
N1.CommandTimeout = 0
N1.Prepared = true
N1.Execute()
%>
<%
set N1 = Server.CreateObject("ADODB.Command")
N1.ActiveConnection = MM_numero_STRING
N1.CommandText = "UPDATE Cartelle SET [N1] = 'X"& +(estratto.Fields.Item("1").Value) &"' WHERE N1 = '" & (estratto.Fields.Item("1").Value) & "'"
N1.CommandType = 1
N1.CommandTimeout = 0
N1.Prepared = true
N1.Execute()
%>