Wednesday, May 21, 2014
Luas Persegi Panjang ala Sang Bocah
8:32 PM
No comments
Option Compare Database
Private Sub CmdClose_Click()
DoCmd.Save
DoCmd.Close
End Sub
Private Sub CmdHapus_Click()
TxtPanjang = ""
TxtLebar = ""
TxtLuas = ""
TxtPanjang.SetFocus
End Sub
Private Sub CmdHitung_Click()
Dim P, L, S As Integer
P = TxtPanjang
L = TxtLebar
TxtLuas = S
TxtPanjang = P
TxtLebar = L
TxtLuas = P * L
End Sub
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment