Foxtable(狐表)用户栏目专家坐堂 → 所有的大写列中实现与对应的前一列的金额自动输入大写金额,怎么样写代码?


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

主题:所有的大写列中实现与对应的前一列的金额自动输入大写金额,怎么样写代码?

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


加好友 发短信
等级:贵宾 帖子:39310 积分:196782 威望:0 精华:1 注册:2015/4/25 9:23:00
  发帖心情 Post By:2016/8/11 15:51:00 [显示全部帖子]

DataColChanged事件

 

For Each dc As DataCol In e.DataTable.DataCols
    If e.DataTable.DataCols.Contains(dc.name & "大写") Then
        If e.DataRow.IsNull(dc.name) = False Then
            e.DataRow(dc.name & "大写") =  CUMoney(e.DataRow(dc.name))
        Else
            e.DataRow(dc.name & "大写") =  Nothing
        End If
    End If
Next


 回到顶部