i use adodataset to access oralce table "csn.test"
F1 F2
a 1
b 2
c 3
connection and dataset open is all ok.
i add the following code:
and the error message like this "can't locate the record for refreshing, maybe it has been modified." showed when i click the button1 the second time.
way to gold shines more than gold
F1 F2
a 1
b 2
c 3
connection and dataset open is all ok.
i add the following code:
Code:
procedure TForm1.Button1Click(Sender: TObject);
begin
ADODataSet1.Edit;
ADODataSet1.FieldByName('F2').AsString := '';
ADODataSet1.Post;
end;
way to gold shines more than gold