Access题目求答案

2024-12-02 06:45:41
推荐回答(1个)
回答1:

第一题:
Private Sub cmd1_Click()
Dim m, n, k, num As Integer
m = Val(T1)
n = Val(T2)
k = 1
num = m * k
Do While num Mod n <> 0
k = k + 1
num = m * k
Loop
T3 = num
End Sub
第二题:
Private Sub Cmd2_Click()
DoCmd.Close
End Sub