以文本方式查看主题 - Foxtable(狐表) (http://foxtable.com/bbs/index.asp) -- 专家坐堂 (http://foxtable.com/bbs/list.asp?boardid=2) ---- for next循环统计格列数值 (http://foxtable.com/bbs/dispbbs.asp?boardid=2&id=196112) |
-- 作者:13559187297 -- 发布时间:2025/3/29 15:52:00 -- for next循环统计格列数值 数据表有12列数据,列名为“1月”、“2月”、-----“12月” 我想用for 。。。 next循环语句统计各列的数值该怎么写代码?
|
-- 作者:有点蓝 -- 发布时间:2025/3/29 16:50:00 -- for i as integer = 1 to 12 dim d as double = tables("表A").compute("sum(" & i & "月)") output.show(i & "月=" & d) next
|