Dim JH As WinForm.CheckedComboBox = e.Form.Controls("CheckedComboBox_卷号")
Filter = "工序 in ('" & GX.Text.replace(",", "','") & "') And 牌号 In ('" & PH.Text.replace(",", "','") & "') And 卷号 In ('" & JH.Text.replace(",", "','") & "') And 起始时间 >= #" & dt1.Value & "# And 起始时间 < #" & dt2.Value.AddDays(1) & "# And 厚度 >=" & hd1.Value & " And 厚度 <=" & hd2.Value & "And 宽度 >=" & kd1.Value & " And 宽度 <=" & kd2.Value
上面的筛选字符串中,打底色部分我要加个or,希望实现以下功能:
当我不是下拉选择,而是在CheckedComboBox的输入框中录入卷号时,能进行模糊匹配,也就是我只要录入卷号的中间一部分就行了,谢谢!