Foxtable(狐表)用户栏目专家坐堂 → 模拟关联表的问题


  共有1565人关注过本帖平板打印复制链接

主题:模拟关联表的问题

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


加好友 发短信
等级:二尾狐 帖子:500 积分:5397 威望:0 精华:0 注册:2009/2/5 13:09:00
模拟关联表的问题  发帖心情 Post By:2018/5/20 14:45:00 [只看该作者]

Dim t As Table = Tables("窗口2_Table2")
With Tables("客户资料")
    If .Current Is Nothing Then
        t.Filter = "False"
    Else
        t.Filter = "编号 = " & .Current("编号")
    End If
End With
Dim t As Table = Tables("窗口2_Table3")
With Tables("客户资料")
    If .Current Is Nothing Then
        t.Filter = "False"
    Else
        t.Filter = "编号 = " & .Current("编号")
    End If
End With
Dim t As Table = Tables("窗口2_Table4")
With Tables("客户资料")
    If .Current Is Nothing Then
        t.Filter = "False"
    Else
        t.Filter = "客户id = " & .Current("编号")
    End If
End With

通模拟关联,在同一个窗口里有4个关联副表。窗口事件AfterLoad里怎么写呢?谢谢!


 回到顶部