Private Sub Command2_Click()
Dim strWhere As String
strWhere = "True"
If Not IsNull(Me.信息) Then
strWhere = strWhere & " and 编号=" & Me.信息.Value
End If
Me.信息查询子窗体.Form.Filter = strWhere
Me.信息查询子窗体.Form.FilterOn = True
End Sub 作者: yanghua1900363 时间: 2011-7-29 18:35
学习了