Foxtable(狐表)用户栏目专家坐堂 → [求助]请教一个数据引用的问题。


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

主题:[求助]请教一个数据引用的问题。

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


加好友 发短信
等级:超级版主 帖子:113332 积分:577113 威望:0 精华:9 注册:2015/6/24 9:21:00
  发帖心情 Post By:2020/3/29 21:59:00 [显示全部帖子]

参考:http://www.foxtable.com/webhelp/topics/1451.htm

工资表,datacolchanged事件

If e.DataCol.Name = "身份证号码" Then
    If e.NewValue Is Nothing Then
        e.
DataRow("工资") = Nothing 
    
Else
        Dim
 dr As DataRowDataTables("表A").Find("[
身份证号码] = '" & e.NewValue & "'")
        If
 dr IsNot Nothing Then
Dim dr2 As DataRowDataTables("工资标准").Find("[义教专技薪级] = '" & dr("薪级") & "'")
if dr2 isnot nothing then
e.DataRow("工资")= dr2("义教薪级标准")
end if
        End If
    End
 If
End
 If


 回到顶部