Function Req(ctrls As Controls)
Dim ctrl As Control
For Each ctrl In ctrls
If ctrl.ControlType = acComboBox Or ctrl.ControlType = acListBox Then
ctrl.Requery
End If
If ctrl.ControlType = acSubform Then
ctrl.Form.Requery
End If
Next ctrl
End Function 作者: gxy1000 时间: 2011-5-4 09:55
学习!!!谢谢!!!