Professional Documents
Culture Documents
Value = False
If cbkode.Text = "drk001" Then opt2.Enabled = True
txtjabatan.Text = "direktur" opt2.Value = False
txtgapok.Text = 5000000 Command1.Enabled = True
Else Command3.Enabled = True
If cbkode.Text = "mng002" Then Command4.Enabled = True
txtjabatan.Text = "manager" txtnama.SetFocus
txtgapok.Text = 3000000 End Sub
Else
txtjabatan.Text = "karyawan" Private Sub Command3_Click()
txtgapok.Text = 1000000 txtnama.Text = ""
End If cbkode.Text = ""
End If txtjabatan.Text = ""
End Sub txttunj.Text = ""
txtgapok.Text = ""
Private Sub Command1_Click() txtgaber.Text = ""
txtgaber.Text = Val(txtgapok.Text) + opt1.Value = False
Val(txttunj.Text) opt2.Value = False
End Sub End Sub