以文本方式查看主题 - Foxtable(狐表) (http://foxtable.net/bbs/index.asp) -- 专家坐堂 (http://foxtable.net/bbs/list.asp?boardid=2) ---- 每一行的 当前行合计就行,不用累计 (http://foxtable.net/bbs/dispbbs.asp?boardid=2&id=117361) |
-- 作者:fubblyc -- 发布时间:2018/4/11 11:44:00 -- 每一行的 当前行合计就行,不用累计 甜老师,我这样写变成把上面的值也加到下面行的合计里了,我只要每一行这几列的合计 For Each r2 As Row In t.Rows Dim cjshj As Integer Dim zklhj As Integer For Each key As String In dic_zkl.Keys zklhj = zklhj + r2(dic_zkl(key)) \'客流数合计 r2("总客流_合计") = zklhj Next Next
|
-- 作者:有点甜 -- 发布时间:2018/4/11 12:11:00 -- For Each r2 As Row In t.Rows Dim cjshj As Integer = 0 Dim zklhj As Integer = 0 For Each key As String In dic_zkl.Keys zklhj = zklhj + r2(dic_zkl(key)) \'客流数合计 r2("总客流_合计") = zklhj Next Next |
-- 作者:fubblyc -- 发布时间:2018/4/11 12:16:00 -- 厉害了!!简直了!! |