Private Sub cmdbatal_Click()
txtnakar = ""
txtnik = ""
txtgo = ""
txtkode = ""
txtsta = ""
txttah = ""
txtjaba = ""
txtbagian = ""
txtgapo = ""
txttunja = ""
txttoga = ""
txtnakar.SetFocus
End Sub
Private Sub cmdkeluar_Click()
End
End Sub
Private Sub cmdlagi_Click()
txtnakar = ""
txtnik = ""
txtgo = ""
txtkode = ""
txtsta = ""
txttah = ""
txtjaba = ""
txtbagian = ""
txtgapo = ""
txttunja = ""
txttoga = ""
txtnakar.SetFocus
End Sub
Private Sub cmdproses_Click()
Dim S As String
txttah = Left(txtnik, 4)
S = Mid(txtnik, 5, 1)
If S = "A" Then
txtgo = "A"
txtjaba = "Manajer"
txtgapo = "4000000"
txttunja = "1025000"
ElseIf S = "B" Then
txtgo = "B"
txtjaba = "Ka. Seksi"
txtgapo = "3500000"
txttunja = "975000"
ElseIf S = "C" Then
txtgo = "C"
txtjaba = "Staff"
txtgapo = "3000000"
txttunja = "925000"
End If
S = Mid(txtnik, 7, 1)
If S = "S" Then
txtkode = "S"
txtsta = "Single"
ElseIf S = "M" Then
txtkode = "M"
txtsta = "Menikah"
ElseIf S = "J" Then
txtkode = "J"
txtsta = "Janda"
ElseIf S = "D" Then
txtkode = "D"
txtsta = "Duda"
End If
S = Right(txtnik, 3)
If S = "KEU" Then
txtbagian = "Accounting"
ElseIf S = "ADM" Then
txtbagian = "Administrasi"
ElseIf S = "SDM" Then
txtbagian = "General Affair"
ElseIf S = "EDP" Then
txtbagian = "IT Unit"
ElseIf S = "SPM" Then
txtbagian = "Security"
End If
txttoga = Val(txtgapo) + Val(txttunja)
End Sub
Langganan:
Posting Komentar (Atom)
cara membuat grafik 3D Plots Surf, Mesh, dan Contour menggunakan matlab
Untuk menggambar grafik 3- dimensi memerlukan suatu titik koordinat yaitu x,y, dan z atau bisa disebut array. Fungsi-fungsi dari visu...
-
Untuk menggambar grafik 3- dimensi memerlukan suatu titik koordinat yaitu x,y, dan z atau bisa disebut array. Fungsi-fungsi dari visu...
-
– Ratusan Mahasiswa STMIK dan STIT Pringsewu peride tahun 2017 mengikuti pembekalan sebelum melaksanakan Kuliah Kerja Nyata (KKN) di K...
-
BANDUNG – Rabu (13/9) sebanyak 250 mahasiswa STMIK Pringsewu melakukan kunjungan ke PT. Primarindo Asia Infrasrtucture Tbk . Jl. Raya Ra...
Tidak ada komentar:
Posting Komentar