TUGAS 1 SEMESTER 3

FEBRI

Private Sub CMDBARU_Click()

Data1.Recordset.AddNew

End Sub

Private Sub CMDHAPUS_Click()

Data1.Recordset.Delete

End Sub

Private Sub CMDKELUAR_Click(Index As Integer)

End

End Sub

Private Sub CMDPROSES_Click()

If TXTHP = “nokia” Then

TXTHAR.Text = “800.000”

TXTRAM.Text = “1 gb”

TXTMEMO.Text = “16”

TXTKA.Text = “5 mp”

ElseIf TXTHP = “samsung” Then

TXTHAR.Text = “1000.000”

TXTRAM.Text = “1 gb”

TXTMEMO.Text = “64”

TXTKA.Text = “13 mp”

ElseIf TXTHP = “Iphone” Then

TXTHAR.Text = “8000.000”

TXTRAM.Text = “3 gb”

TXTMEMO.Text = “124”

TXTKA.Text = “20 mp”

Data1.Recordset.Update

End If

End Sub

Private Sub CMDSIMPAN_Click()

Data1.Recordset.Update

End Sub

Iklan

Tinggalkan Balasan

Isikan data di bawah atau klik salah satu ikon untuk log in:

Logo WordPress.com

You are commenting using your WordPress.com account. Logout /  Ubah )

Foto Google

You are commenting using your Google account. Logout /  Ubah )

Gambar Twitter

You are commenting using your Twitter account. Logout /  Ubah )

Foto Facebook

You are commenting using your Facebook account. Logout /  Ubah )

Connecting to %s