0% found this document useful (0 votes)
21 views3 pages

Tugas Database Dias

This document contains information about a student project to create a database application in VB 6.0 to manage student data. It includes screenshots of the database design in MS Access and the data link properties. It also provides the source code for buttons to save, delete, and add new data records from form controls linked to the database.

Uploaded by

sukajamur
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
21 views3 pages

Tugas Database Dias

This document contains information about a student project to create a database application in VB 6.0 to manage student data. It includes screenshots of the database design in MS Access and the data link properties. It also provides the source code for buttons to save, delete, and add new data records from form controls linked to the database.

Uploaded by

sukajamur
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

Nama : Diasrina Dahri NIM : 0907055009

ILMU KOMPUTER 2009

Screenshot Database (Ms. Access), Design View, dan Isi Tabel

Form project (VB 6.0), data link properties-connection, property pages- adcmd text

Source Code : 1. Tombol S I M P A N


Private Sub Command1_Click() If txtNim.Text = "" Or txtNama.Text = "" Or txtTL = "" Or DTPickerTTL = "" Or cmbJK = "Pilih Salah Satu" Or txtAlamat = "" Then MsgBox "Lengkapi Data" Else Adodc1.Recordset!NAMA = txtNama.Text Adodc1.Recordset!NIM = txtNim.Text Adodc1.Recordset!TEMPAT_LAHIR = txtTL.Text Adodc1.Recordset!TANGGAL_LAHIR = DTPickerTTL.Value Adodc1.Recordset!JENIS_KELAMIN = cmbJK.Text Adodc1.Recordset!ALAMAT = txtAlamat.Text Adodc1.Recordset.Update MsgBox "DATA TELAH TERSIMPAN!!!", vbInformation, "Pesan" txtNama.Text = "" txtNim.Text = "" txtTL.Text = "" DTPickerTTL = Date cmbJK.Text = "" txtAlamat.Text = "" End If End Sub

2. Tombol H A P U S D A T A
Private Sub Command2_Click() Adodc1.Recordset.Delete End Sub

3. Tombol T A M B A H D A T A
Private Sub Command3_Click() Adodc1.Recordset.AddNew End Sub

RUNNING PROGRAM

You might also like