With e.Form.Controls("textbox8")
If .Value IsNot Nothing Then
Filter &= " and yxdc like \'%" & .Value & "%\' and xkjs like \'%" & .Value & "%\'" \'同时符合
‘Filter &= " and (yxdc like \'%" & .Value & "%\' or xkjs like \'%" & .Value & "%\')" \'只要符合一项
End If
End With
具体我在textbox控件里输入查询字符时怎么输入,是这样么,yxdc我输入重点,然后xkjs输入双一流,重点双一流,中间有空格么,中间有没有空格我都试了,怎么不能查询啊,
谢谢老师解答