132
Tabel 4.31 Listing Program Data Pemenang Tender
Listing Program Keterangan
Private Sub Command6_Click Adodc1.Recordset.AddNew
Adodc1.Recordset.Fields0 = DTPicker1 Adodc1.Recordset.Fields1 = Text1
Adodc1.Recordset.Fields2 = Text2 Adodc1.Recordset.Fields3 = Text3
Adodc1.Recordset.Fields4 = Text4 Adodc1.Recordset.Fields5 = Text5
Adodc1.Recordset.Fields6 = Text6 Adodc1.Recordset.Fields7 = Text7
Adodc1.Recordset.Update Adodc1.Refresh
MsgBox Data tersimpan, vbInformation, proses simpan
End Sub
Perintah Untuk Tombol Simpan
Private Sub Command2_Click Text1.Text =
Text2.Text = Text3.Text =
Text4.Text = Text5.Text =
Text6.Text = Text7.Text =
End Sub
Perintah Untuk Tombol Batal
Private Sub Command5_Click MASUK.Show
Unload Me End Sub
Perintah Untuk Tombol Keluar
Private Sub Command4_Click Adodc1.Recordset.Delete
Adodc1.Refresh End Sub
Perintah Untuk Tombol Hapus
133
4.5.4 Tampilan Menu Bagian Keuangan
Tampilan menu dan kode program pada bagian Keuangan dapat dilihat sebagai berikut:
Gambar 4.70 Tampilan Bag.Keuangan
Tabel 4.32 Listing Program Bag. Keuangan
Listing Program Keterangan
Private Sub Command1_Click Penerima_dana.Show
Unload Me End Sub
Perintah Untuk Tombol Input
Private Sub Command2_Click PD.Show
Unload Me End Sub
Perintah Untuk Tombol Proses
Private Sub Command3_Click SP2D.Show
Unload Me End Sub
Perintah Untuk Tombol SP2D Cek Giro
Gambar 4.71 Tampilan Penerimaan Dana
134
Tabel 4.33 Listing Program Penerimaan Dana
Listing Program Keterangan
Private Sub Command6_Click Adodc1.Recordset.AddNew
Adodc1.Recordset.Fields0 = DTPicker1 Adodc1.Recordset.Fields1 = Text1
Adodc1.Recordset.Fields2 = Text2 Adodc1.Recordset.Fields3 = Text3
Adodc1.Recordset.Fields4 = Text4 Adodc1.Recordset.Fields5 = Text5
Adodc1.Recordset.Update Adodc1.Refresh
MsgBox Data tersimpan, vbInformation, proses simpan
End Sub
Perintah Untuk Tombol Simpan
Private Sub Command2_Click Text1.Text =
Text2.Text = Text3.Text =
Text4.Text = Text5.Text =
End Sub
Perintah Untuk Tombol Batal
Private Sub Command5_Click MENU_UTAMA.Show
Unload Me End Sub
Perintah Untuk Tombol Keluar
Private Sub Command4_Click Adodc1.Recordset.Delete
Adodc1.Refresh End Sub
Perintah Untuk Tombol Hapus
Gambar 4.72 Tampilan Pencairan Dana
135
Tabel 4.34 Listing Program Pencairan Dana
Listing Program Keterangan
Private Sub Command2_Click Adodc1.Recordset.AddNew
Adodc1.Recordset.Fields0 = DTPicker1 Adodc1.Recordset.Fields1 = Text1
Adodc1.Recordset.Fields2 = Text2 Adodc1.Recordset.Fields3 = Text3
Adodc1.Recordset.Fields4 = Text4 Adodc1.Recordset.Fields5 = Text5
Adodc1.Recordset.Fields6 = Text6 Adodc1.Recordset.Update
Adodc1.Refresh MsgBox Data tersimpan, vbInformation,
proses simpan End Sub
Perintah Untuk Tombol Simpan
Private Sub Command4_Click Text1.Text =
Text2.Text = Text3.Text =
Text4.Text = Text5.Text =
Text6.Text = End Sub
Perintah Untuk Tombol Batal
Private Sub Command3_Click Adodc1.Recordset.Delete
Adodc1.Refresh End Sub
Perintah Untuk Tombol Hapus
Private Sub Command5_Click MENU_UTAMA.Show
Unload Me End Sub
Perintah Untuk Tombol Keluar
4.5.5 Tampilan Menu Bagian Bendahara
Tampilan menu dan kode program pada bagian Bendahara dapat dilihat sebagai berikut:
Gambar 4.73 Tampilan Bagian Bendahara