Data Buku STMIK PRINGSEWU

FNHGJ

Private Sub cmdbatal_Click()
txtkode.SetFocus
txtkode = “”
txtjudul = “”
txtpengarang = “”
txttahun = “”
txtpenerbit = “”
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 KB As String
KB = Left(txtkode.Text, 3)
If KB = “SIM” Then
txtjudul = “Sistem Informasi Manajemen”
txtpengarang = “Fadiya Ulfa”
txtharga = 75900
ElseIf KB = “EDP” Then
txtjudul = “Elektronik Data Processing”
txtpengarang = “Nurul Agustin”
txtharga = 62000
ElseIf KB = “MNJ” Then
txtjudul = “Manajemen”
txtpengarang = “Rian Hidayat”
txtharga = 42000
ElseIf KB = “CDR” Then
txtjudul = “Corel Draw”
txtpengarang = “Siti Nur Khotimah”
txtharga = 53000
ElseIf KB = “RPL” Then
txtjudul = “Rekayasa Perangkat Lunak”
txtpengarang = “Winda Erlianti”
txtharga = 83000
End If
txttahun.Text = “20” & Mid(txtkode.Text, 5, 2)
KB = Right(txtkode.Text, 1)
If KB = “A” Then
txtpenerbit = “Andi Offset Yogyakarta”
ElseIf KB = “I” Then
txtpenerbit = “Indah Surabaya”
ElseIf KB = “S” Then
txtpenerbit = “Salemba Empat”
ElseIf KB = “E” Then
txtpenerbit = “Elek Media Komputindo”
ElseIf KB = “M” Then
txtpenerbit = “Maxicom”
End If
End Sub

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