以文本方式查看主题 - Foxtable(狐表) (http://foxtable.com/bbs/index.asp) -- 专家坐堂 (http://foxtable.com/bbs/list.asp?boardid=2) ---- LoadFilter筛选问题 (http://foxtable.com/bbs/dispbbs.asp?boardid=2&id=178501) |
-- 作者:yxl2012 -- 发布时间:2022/7/6 23:23:00 -- LoadFilter筛选问题 请教老师,下面这段筛选语句,%有没啥问题?为什么筛选不出结果?? Dim Filter As String = "" Dim dr As DataRow = e.Node.DataRow \'获取生成此节点的行 Filter = "FileName like \'%" & dr("csMachineId") & "%\' And FSLTime >= \'" & e.Form.Controls("DateTimePicker3").value & "\' and FSLTime <= \'" & e.Form.Controls("DateTimePicker4").value.AddDays(1) & "\'" DataTables("DetailData").LoadFilter = Filter DataTables("DetailData").Load() |
-- 作者:有点蓝 -- 发布时间:2022/7/7 9:36:00 -- 什么数据库?access? msgbox(Filter) 显示什么内容?
|