-- 作者:有点甜
-- 发布时间:2017/11/23 14:27:00
--
改成这样,填入的查询内容,必须是 【1年以上】【2年以上】这样能够的条件。
With e.Form.Controls("ComboBox12")
If .Value IsNot Nothing Then
If Filter > "" Then
Filter = Filter & " And "
End If
Filter = Filter & "经营年数 >= \'" & .Value & "\'"
End If
End With
|