spero che sia la parte giusta
saluticodice:preparazione aggiornamento set rsUpd=server.CreateObject("ADODB.Recordset") sqlUpd="select * from RIPARAZIONE where Numero_richiesta = " & Id_Dato rsUpd.Open sqlUpd,Conn,3,3 ' for i = 2 to 3 ' 'scandisce il form ' 'l'id è gia' stato calcolato quindi ce l'ho di sicuro ' 'sia in fase di inserzione che di aggiornamento ' rsUpd(i)=vDati(i) ' next rsUpd(10)=vDati(10) rsUpd(4)=vDati(4) rsUpd(2)=vDati(2) rsUpd(18)=vDati(18) rsUpd(20)=vDati(20) if len(vDati(21))> 0 then rsUpd(21)=vDati(21) end if if len(vDati(16))> 0 then rsUpd(16)=vDati(16) end if if len(vDati(3))> 0 then rsUpd(3)=vDati(3) end if if len(vDati(11))> 0 then rsUpd(11)=vDati(11) end if rsUpd(19)=vDati(19) rsUpd.Update ' rsUpd.Close() %>

Rispondi quotando