以文本方式查看主题

-  Foxtable(狐表)  (http://foxtable.net/bbs/index.asp)
--  专家坐堂  (http://foxtable.net/bbs/list.asp?boardid=2)
----  关联表数据汇总更新  (http://foxtable.net/bbs/dispbbs.asp?boardid=2&id=68617)

--  作者:Bin
--  发布时间:2015/5/21 13:41:00
--  
子表DataColChanged事件

select case e.datacol.name
         case "第一列","第二列"
          dim pr as datarow = e.datarow.GetParentRow("父表")
          if pr isnot nothing then
              if pr.GetChildRows("子表").count=e.datatable.Compute("count(*)","第一列 is not null and 第二列 is not null") then
                  pr("开始完成时间")=date.today
              end if
          end if
end select

--  作者:Bin
--  发布时间:2015/5/21 16:41:00
--  
.
 下载信息  [文件大小:   下载次数: ]
图片点击可在新窗口打开查看点击浏览该文件:进度汇总测试.foxdb


--  作者:大红袍
--  发布时间:2015/5/21 16:48:00
--  
 
 下载信息  [文件大小:   下载次数: ]
图片点击可在新窗口打开查看点击浏览该文件:进度汇总测试.foxdb