Private Sub CmdClose_Click()
DoCmd.Save
DoCmd.Close
End Sub
Private Sub CmdHapus_Click()
TxtPanjang = ""
TxtLebar = ""
TxtLuas = ""
End Sub
Private Sub CmdHitung_Click()
Dim P, L, Luas As Integer
P = TxtPanjang
L = TxtLebar
Luas = (P * L)
TxtPanjang = P
TxtLebar = L
TxtLuas = Luas
End Sub
Tidak ada komentar:
Posting Komentar