Hello everyone
I am a beginner
I want to edit a field but I can't figure out how to do that.
This my code:
but the field id deleted without being able to add the new one
Thanks
I am a beginner
I want to edit a field but I can't figure out how to do that.
This my code:
Code:
RS.Open "select * from gadesTable where PID = '" & Text2.Text & "' And test = '" & Text5.Text & "'", DB, adOpenStatic, adLockOptimistic
If Not RS.BOF Then
RS.delete 'I want to delete the existing value
RS.MoveNext
RS.AddNew 'Then add a new value
RS!test = Text6.Text
RS.Update
Thanks