以文本方式查看主题 - Foxtable(狐表) (http://foxtable.net/bbs/index.asp) -- 专家坐堂 (http://foxtable.net/bbs/list.asp?boardid=2) ---- 模糊查询代码出错 (http://foxtable.net/bbs/dispbbs.asp?boardid=2&id=97452) |
-- 作者:有点蓝 -- 发布时间:2017/3/13 8:34:00 -- 代码没有问题。逻辑问题请截图或者上传例子说明 |
-- 作者:有点蓝 -- 发布时间:2017/3/13 11:33:00 -- With e.Form.Controls("TextBox1")
If .Value IsNot Nothing Then
If Filter > "" Then
Filter = Filter & " And "
End If
Filter = Filter & "投标家数 >= " & .Value
End If
End With
With e.Form.Controls("TextBox2")
If .Value IsNot Nothing Then
If Filter > "" Then
Filter = Filter & " And "
End If
Filter = Filter & "投标家数 <= " & .Value
End If
End With
|