Private Sub cmdbatal_Click() txtnama = "" txtnik = "" txtgol = "" txtks = "" txtstatus = "" txttahun = "" txtjabatan = "" txtbagian = "" txtgapok = "" txttunjangan = "" txttotal = "" txtnama.SetFocus End Sub Private Sub cmdkeluar_Click() End End Sub Private Sub cmdlagi_Click() txtnama = "" txtnik = "" txtgol = "" txtks = "" txtstatus = "" txttahun = "" txtjabatan = "" txtbagian = "" txtgapok = "" txttunjangan = "" txttotal = "" txtnama.SetFocus End Sub Private Sub cmdproses_Click() Dim S As String txttahun = Left(txtnik, 4) S = Mid(txtnik, 5, 1) If S = "A" Then txtgol = "A" txtjabatan = "Manajer" txtgapok = "4000000" txttunjangan = "1025000" ElseIf S = "B" Then txt...
Private Sub cmdbatal_Click() txtkb = "" txtjb = "" txtpengarang = "" txttt = "" txtpenerbit = "" txtharga = "" txtkb.SetFocus End Sub Private Sub cmdkeluar_Click() End End Sub Private Sub cmdlagi_Click() txtkb = "" txtjb = "" txtpengarang = "" txttt = "" txtpenerbit = "" txtharga = "" txtkb.SetFocus End Sub Private Sub cmdproses_Click() Dim B As String B = Left(txtkb, 3) If B = "SIM" Then txtjb = "Sistem Informasi Manajemen" txtpengarang = "Fadiya Ulfa" txtharga = "75900" ElseIf B = "EDP" Then txtjb = "Elektronik Data Processing" txtpengarang = "Nurul Agustina" txtharga = "62000" ElseIf B = "MNJ" Then txtjb = "Manajemen" txtpengarang = "Rian Hidayat" txtharga = "42000" ElseIf B = "CDR" Then txtjb ...