I have this code
There is no problem in adding, my problem is that it doesn't update using the same code.. Do i have to use the Adodb.Recordset in updating the data?
tnx in advance..
Code:
CoNN.BeginTrans CoNN.Execute "UPDATE tblsubject SET [Subject1]='" & txtSubject1.Text & "', [Subject2]='" & txtSubject2.Text & "', [Subject3]='" & txtSubject3.Text & "', [Subject4]='" & txtSubject4.Text & "', [Subject5]='" & txtSubject5.Text & "', [Subject6]='" & txtSubject6.Text & "', [Subject7]='" & txtSubject7.Text & "', [Subject8]='" & txtSubject8.Text & "' WHERE [SubjectID]=" & v_ID & ";" CoNN.CommitTrans
tnx in advance..
Comment