This document contains the code for a Delphi final project about contract management. It includes code for buttons to save, end, cancel, enter, filter, display, print and preview data from database tables. It also contains code to open input, filter and report forms, and a menu to view info or exit the program.
4. Tombol TAMPIL Tombol SELESAI
Begin begin
table1.IndexName:='xnim'; close;
table1.SetRange([tawal.text],[takhir.text]); end;
end;
Tombol FILTER
begin
table1.FilterOptions:=[focaseinsensitive];
table1.Filter:='nim='+quotedstr(tnim.Text);
table1.Filtered:=true;
end;
5. Tombol LAYAR Tombol KELUAR
Begin begin
quickrep1.Preview; close;
end; end;
Tombol PRINT
begin
quickrep1.Print;
end;
7. Tombol LAYAR Tombol KELUAR
Begin begin
quickrep1.Preview; close;
end; end;
Tombol PRINT
begin
quickrep1.Print;
end;
8. File Data Kontrakan Proses Filter Database Kontrakan
Begin begin
form1.ShowModal; form3.ShowModal;
end; end;
Proses Input Data Kontrakan
begin
form2.ShowModal;
end;
9. Laporan Laporan Kontrakan Menu INFO
Begin begin
form4.ShowModal; form6.ShowModal;
end; end;
File Keluar
begin
close;
end;