Deleting a blank script for DBGrid in Delphi is not ERROR

0 comments



procedure TForm1.Button1Click(Sender: TObject);

begin

If DM.ADOTableTes.RecordCount=0 then
begin MessageDlg('Data Kosong jadi tidak bisa dihapus',mtInformation,[mbOK],0)
end else
DM.ADOTableTes.Delete;
end;


Description:

- DM = DataModule who are at Delphi, where we put all the components of the connection
- ADOTableTes = Component ADOTable
Share this article :

Post a Comment

Ads

 
Support : Creating Website | Johny Template | Mas Template
Copyright © 2011. Share It Out - All Rights Reserved
Template Created by Creating Website Published by Mas Template
Proudly powered by Blogger