以文本方式查看主题 - Foxtable(狐表) (http://foxtable.net/bbs/index.asp) -- 专家坐堂 (http://foxtable.net/bbs/list.asp?boardid=2) ---- 统计非空列 (http://foxtable.net/bbs/dispbbs.asp?boardid=2&id=70789) |
-- 作者:dj68301367 -- 发布时间:2015/6/29 11:02:00 -- 统计非空列 Dim Vsl As Long vsl = DataTables("请购单明细").Compute("sum(需请购量)","物料编码 = \'" & mtbf.Current("物料编码") & "\' and " & DataTables("请购单明细").DataRows("单号") IsNot Nothing ) msgbox(vsl)
|
-- 作者:Bin -- 发布时间:2015/6/29 11:03:00 -- im Vsl As Long vsl = DataTables("请购单明细").Compute("sum(需请购量)","物料编码 = \'" & mtbf.Current("物料编码") & "\' and 单号 is not null") msgbox(vsl)
|