以文本方式查看主题 - Foxtable(狐表) (http://foxtable.net/bbs/index.asp) -- 专家坐堂 (http://foxtable.net/bbs/list.asp?boardid=2) ---- 现在要用截图中订单合计的汇总数代替订单合计数 (http://foxtable.net/bbs/dispbbs.asp?boardid=2&id=119118) |
-- 作者:yetle -- 发布时间:2018/5/18 9:05:00 -- 现在要用截图中订单合计的汇总数代替订单合计数 Dim nma() As String = {"物供号","系列名","客款号","颜色","订单合计"} \'A表数据来源列 Dim t As Table = Tables("dbscmx") For i As Integer = t.TopPosition To t.BottomPosition Dim dr As Row = t.rows(i) Dim r As Row = Tables("生产计划").addnew() Dim str As String = "" For n As Integer = 0 To nma.length -1 str &= dr(nma(n)) & "--" Next r("排产内容")= str Next \' Tables("dbscmx").ResumeRedraw() End If
|
-- 作者:有点甜 -- 发布时间:2018/5/18 9:12:00 -- Dim nma() As String = {"物供号","系列名","客款号","颜色"} \'A表数据来源列
|