Foxtable(狐表)用户栏目专家坐堂 → 父表中记录子表中某一列的实时的最新值


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

主题:父表中记录子表中某一列的实时的最新值

帅哥,在线噢!
有点蓝
  1楼 | 信息 | 搜索 | 邮箱 | 主页 | UC


加好友 发短信
等级:超级版主 帖子:109347 积分:556379 威望:0 精华:9 注册:2015/6/24 9:21:00
  发帖心情 Post By:2023/7/6 21:40:00 [显示全部帖子]

“表B" datacolchanged事件

if e.datacol.name = 日期“ orelsee.datacol.name = 实时标注“  then
 dim dr as datarow = datatables("表A").find("身份证='" & e.datarow("身份证') & "'")
if dr isnot nothing then
 dim dr2 as datarow = e.datatable.find("身份证='" & e.datarow("身份证') & "'","日期 desc")
if dr2 isnot nothing then
 dr("标注") = dr2("实时标注")
end if
end if
end if

 回到顶部