Foxtable(狐表)用户栏目专家坐堂 → dataclochanged


  共有1975人关注过本帖树形打印复制链接

主题:dataclochanged

帅哥哟,离线,有人找我吗?
有点甜
  1楼 | 信息 | 搜索 | 邮箱 | 主页 | UC


加好友 发短信
等级:版主 帖子:85326 积分:427815 威望:0 精华:5 注册:2012/10/18 22:13:00
  发帖心情 Post By:2019/3/10 21:41:00 [显示全部帖子]

不能重复,重复的时候,需要写多个 select end select

 

Select e.DataCol.name
    Case "B2","B17","B47","B68","B69","B70"
        e.DataRow("B0")= e.DataRow("B2")+e.DataRow("B17")+ e.DataRow("B47")+ e.DataRow("B68")+ e.DataRow("B69")+ e.DataRow("B70")
    Case "B3","B10"
        e.DataRow("B1")=e.DataRow("B3")+e.DataRow("B10")
    Case "B4","B11"
        e.DataRow("B2")=e.DataRow("B4")+e.DataRow("B11")
    Case "B4","B7"
        e.DataRow("B3")=e.DataRow("B4")+e.DataRow("B7")
    Case "B11","B15"
        e.DataRow("B10")=e.DataRow("B11")+e.DataRow("B15") 

 回到顶部