4zmy

sorce

Apr 30th, 2014
286
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Delphi 0.47 KB | None | 0 0
  1. MessageDlg('Yakin Ubah Data Ini..??',mtConfirmation,[mbYes]+[mbCancel],0);
  2.   with dm.ADO_pemasok do
  3.   begin
  4.     Close;
  5.       SQL.Clear;
  6.       SQL.Text:='update pemasok set nama_pemasok='+QuotedStr(Enama.Text)
  7.                 +',alamat='+QuotedStr(Ealamat.Text)
  8.                 +',no_telpon='+QuotedStr(Etelepon.Text)
  9.                 +' where kd_pemasok='+QuotedStr(Ekode.Text)+'';
  10.       ExecSQL;
  11.       MessageDlg('Data Berhasil Di Ubah..!!',mtInformation,[mbYes],0);
  12.   end;
Advertisement
Add Comment
Please, Sign In to add comment