Dim i As Integer
Dim strfldname As String
Dim strfld As String
strfldname = Screen.ActiveControl.Name
Debug.Print strname
For i = 1 To Me.Child0.Form.SelHeight
strfld = strfld & Me.Child0.Form.Recordset.Fields(strfldname) & ";"
Me.Child0.Form.Recordset.MoveNext
Next i
MsgBox "字段名称:" & strfldname, vbInformation
MsgBox "字段内容:" & strfld, vbInformation