以文本方式查看主题 - Foxtable(狐表) (http://foxtable.com/bbs/index.asp) -- 专家坐堂 (http://foxtable.com/bbs/list.asp?boardid=2) ---- [求助] (http://foxtable.com/bbs/dispbbs.asp?boardid=2&id=139484) |
-- 作者:leoli -- 发布时间:2019/8/13 20:31:00 -- [求助]
请问
我要要如下代码中增加一个日期条件 :只要未来两周内的记录包括空白日期, 这个条件该如何设置。谢谢。
For Each ry As String() In DataTables("Order").GetValues("No|company|SOP","Company like \'Tra\' and Supplier is not null or Company like \'nuf\'","TD,优先等级 DESC") |
-- 作者:有点蓝 -- 发布时间:2019/8/13 20:38:00 -- For Each ry As String() In DataTables("Order").GetValues("No|company|SOP","Company like \'Tra\' and Supplier is not null or Company like \'nuf\' and (日期 is null or 日期 <= \'" & date.today.adddays(14) & "\')","TD,优先等级 DESC") [此贴子已经被作者于2019/8/13 20:38:16编辑过]
|