neoreturned
Programmer
procedure TForm1.Button2Click(Sender: TObject);
begin
Query1.Active:=False;
Query1.SQL.Add('UPDATE UYELER SET UyeAdi='''+Edit2.Text+''' WHERE UyeKodu='''+Edit1.Text+'''');
Query1.Open;
end;
end.
when i run this procedure it gives an error like: "Invalid use token: UPDATE" why? also how i update my query wtih edit boxes??
begin
Query1.Active:=False;
Query1.SQL.Add('UPDATE UYELER SET UyeAdi='''+Edit2.Text+''' WHERE UyeKodu='''+Edit1.Text+'''');
Query1.Open;
end;
end.
when i run this procedure it gives an error like: "Invalid use token: UPDATE" why? also how i update my query wtih edit boxes??