Private Sub Command1_Click()
Dim rst As New ADODB.Recordset
Dim i As Long
Dim k As String
rst.Open "tblID", CurrentProject.Connection, adOpenKeyset, adLockOptimistic
For i = 1 To rst.RecordCount
'Sleep 1000
k = GetData(rst.Fields("ID").Value)
rst.MoveNext
MsgBox "评分是:" & k
Next i
rst.Close
End Sub