以文本方式查看主题 - Foxtable(狐表) (http://foxtable.com/bbs/index.asp) -- 专家坐堂 (http://foxtable.com/bbs/list.asp?boardid=2) ---- DataTables("主表").Select 过滤失败了 (http://foxtable.com/bbs/dispbbs.asp?boardid=2&id=187844) |
-- 作者:puma -- 发布时间:2023/8/16 14:15:00 -- DataTables("主表").Select 过滤失败了 Dim drs As List(Of DataRow) drs = DataTables("主表").Select("[名称] = \'name\' and [日期] >= #" & sDate & "# And [日期] <= #" & eDate & "# ") \'过滤失败 For Each dr1 As DataRow In drs
next 日期过滤,名称没有过滤,哪里写错误? |
-- 作者:有点蓝 -- 发布时间:2023/8/16 14:18:00 -- drs = DataTables("主表").Select("[名称] = \'" & name & "\' and [日期] >= #" & sDate & "# And [日期] <= #" & eDate & "# ") |