Data Mahasiswa.

Slide2

 

Private Sub Command1_Click()
Dim s As String
Text5.Text = “20” & Left(Text2.Text, 2)
s = Mid(Text2.Text, 3, 1)
If s = “1” Then
Text3.Text = “Strata Satu”
ElseIf s = “2” Then
Text3.Text = “Diploma Tiga”
ElseIf s = “3” Then
Text3.Text = “Diploma Dua”
ElseIf s = “4” Then
Text3.Text = “Diploma Satu”
End If
Text6.Text = Right(Text2.Text, 3)

s = Mid(Text2.Text, 4, 2)
If s = “00” Then
Text4.Text = “Sistem Informasi”
ElseIf s = “01” Then
Text4.Text = “Sistem Informasi”
ElseIf s = “02” Then
Text4.Text = “Tehnik Informatika”
ElseIf s = “03” Then
Text4.Text = “Manajemen Informatika”
ElseIf s = “04” Then
Text4.Text = “Manajemen dan Komp.Akutansi”
End If
End Sub

Private Sub Command2_Click()
Data1.Recordset.Update
Data1.Refresh
End Sub

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

Private Sub Command4_Click()
Data1.Recordset.Delete
Data1.Refresh
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