以文本方式查看主题

-  Foxtable(狐表)  (http://www.foxtable.com/bbs/index.asp)
--  专家坐堂  (http://www.foxtable.com/bbs/list.asp?boardid=2)
----  自动更新  (http://www.foxtable.com/bbs/dispbbs.asp?boardid=2&id=109768)

--  作者:cd_tdh
--  发布时间:2017/11/19 8:46:00
--  
http://www.foxtable.com/webhelp/scr/1453.htm
--  作者:有点甜
--  发布时间:2017/11/19 15:48:00
--  

跨表统计,参考 http://www.foxtable.com/webhelp/scr/1472.htm

 


--  作者:有点甜
--  发布时间:2017/11/19 19:55:00
--  

跟踪表datacolchanged事件

 

If e.DataCol.Name = "合格品" Then
    Dim pr As DataRow
    pr = DataTables("生产排产表").Find("加工工序 = \'" & e.DataRow("加工工序") & "\' and 成品编码 = \'" & e.DataRow("成品编码") & "\'")
    If pr IsNot Nothing Then
        pr("合格品")= e.DataTable.Compute("sum(合格品)", "加工工序 = \'" & e.DataRow("加工工序") & "\' and 成品编码 = \'" & e.DataRow("成品编码") & "\'")
    End If
End If


--  作者:有点甜
--  发布时间:2017/11/19 21:43:00
--  
 下载信息  [文件大小:   下载次数: ]
图片点击可在新窗口打开查看点击浏览该文件:管理项目1.foxdb