DATABASE STMIK PRINGSEWU

1

Private Sub Command1_Click()
Dim A, jr, ps, tm, urut, asString
Text5.Text = 20 & Left(Text2.Text, 2)
A = Mid(Text2.Text, 3, 1)
If A = “1” Then
jr = “SISTEM INFORMASI”
ElseIf A = “2” Then
jr = “MANAJEMEN INFORMATIKA”
ElseIf A = “3” Then
jr = “TEHNIK INFORMATIKA”
ElseIf A = “4” Then
jr = “KOMPUTER AKUTANSI”
End If
Text3.Text = jr
A = Mid(Text2.Text, 4, 2)
If A = “01” Then
ps = “STRATA SATU”
ElseIf A = “02” Then
ps = “DIPLOMA EMPAT”
ElseIf A = “03” Then
ps = “DIPLOMA TIGA”
ElseIf A = “04” Then
ps = “DIPLOMA DUA”
End If
Text4.Text = ps
Text6.Text = Right(Text2.Text, 3)
End Sub

Private Sub text1_KeyPress(KEYASCII As Integer)
If KEYASCII = 13 Then
Text2.SetFocus
End If
End Sub

Private Sub Command2_Click()
Data1.Recordset.AddNew
Text1.SetFocus
End Sub

Private Sub Command3_Click()
Data1.Recordset.Update
End Sub

Private Sub Command4_Click()
Data1.Recordset.Delete
End Sub

Private Sub Command5_Click()
End
End Sub

Tinggalkan Balasan

Isikan data di bawah atau klik salah satu ikon untuk log in:

Logo WordPress.com

You are commenting using your WordPress.com account. Logout / Ubah )

Gambar Twitter

You are commenting using your Twitter account. Logout / Ubah )

Foto Facebook

You are commenting using your Facebook account. Logout / Ubah )

Foto Google+

You are commenting using your Google+ account. Logout / Ubah )

Connecting to %s