Suggest a feature
×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: Delphi
Posted by: Mario Lopes
Added: Feb 15, 2018 5:07 PM
Views: 52
update table delphi
  1. zquery2.Close;
  2. zquery2.SQL.Clear;
  3. zquery2.SQL.Add('update avaliacao set web=:a where sku=:b');
  4. zquery2.ParamByName('a').AsString:=edit1.Text;
  5. zquery2.ParamByName('b').AsString:=label1.Caption;
  6. zquery2.ExecSQL;
  7. zquery1.Refresh;