以文本方式查看主题 - Foxtable(狐表) (http://foxtable.net/bbs/index.asp) -- 专家坐堂 (http://foxtable.net/bbs/list.asp?boardid=2) ---- 怎么在已有表达式里 增加条件 (http://foxtable.net/bbs/dispbbs.asp?boardid=2&id=107303) |
-- 作者:baiheinet -- 发布时间:2017/9/25 13:49:00 -- 怎么在已有表达式里 增加条件 HOURS = "[Discipline] = \'" & dr("DISCIPLINE") & "\' And [Category] <> \'D06\'" For Each WorkingGroup As String In WorkingGroups (DataTables("人工时台账").SQLCompute("sum(Workhours)",HOURS & " [WorkingGroup] = \'" & WorkingGroup & "\'" )),"#0.00") Next 这样写不对 如何在HOURS里 加入新的条件" [WorkingGroup] = \'" & WorkingGroup & "\'" 对面的高手看过来
|
-- 作者:有点甜 -- 发布时间:2017/9/25 14:54:00 -- HOURS & " and [WorkingGroup] = \'" & WorkingGroup & "\'" |