daftar harga buku distmik pringsewu

Untitled

Private Sub cmdbatal_Click()
txtkode.SetFocus
txtkode = “”
txtjudul = “”
txtpengarang = “”
txttahun = “”
txt.penerbit = “”
txtharga = “”
End Sub

Private Sub cmdkeluar_Click()
End
End Sub

Private Sub cmdlagi_Click()
txtkode.SetFocus
txtkode = “”
txtjudul = “”
txtpengarang = “”
txttahun = “”
txtpenerbit = “”
txtharga = “”
End Sub

Private Sub cmdproses_Click()
Dim K As String
txttahun.Text = “20” & Mid(txtkode.Text, 5, 2)
K = Left(txtkode.Text, 3)
If K = “SIM” Then
txtjudul = “Sistem Informasi Manajemen”
txtpengarang = “Fadiya Ulfa”
txtharga = “75900”
ElseIf K = “EDP” Then
txtjudul = “Elektronik Data Processing”
txtpengarang = “Nurul Agustina”
txtharga = “62000”
ElseIf K = “MNJ” Then
txtjudul = “Manajemen”
txtpengarang = “Rian Hidayat”
txtharga = “42000”
ElseIf K = “CDR” Then
txtjudul = “Corel Draw”
txtpengarang = “Siti Nur Khotimah”
txtharga = “53000”
ElseIf K = “RPL” Then
txtjudul = “Rekayasa Perangkat Lunak”
txtpengarang = “Winda Erlianti”
txtharga = “83000”
End If

K = Right(txtkode.Text, 1)
If K = “A” Then
txtpenerbit = “Andi Offset Yogyakarta”
ElseIf K = “I” Then
txtpenerbit = “Indah Surabaya”
ElseIf K = “S” Then
txtpenerbit = “Salemba Empat”
ElseIf K = “E” Then
txtpenerbit = “Elek Media Komputindo”
ElseIf K = “M” Then
txtpenerbit = “Maxicom”
End If
End Sub

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s