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


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

主题:AfterLoad

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


加好友 发短信
等级:四尾狐 帖子:858 积分:6381 威望:0 精华:0 注册:2017/2/13 9:04:00
AfterLoad  发帖心情 Post By:2018/8/18 11:22:00 [只看该作者]

.NET Framework 版本:2.0.50727.3655
Foxtable 版本:2018.7.28.1
错误所在事件:窗口,销售订单,AfterLoad
详细错误信息:
未将对象引用设置到对象的实例。



AfterLoad:
Dim tbl1 As Table=Tables("销售订单_table1")
Dim tbl2 As Table=Tables("销售订单_table2")
If Forms("销售订单").Opened Then
   Tables("销售订单_table2").Filter = "[物供号] = '" & tbl1.current("物供号") & "'"
   Tables("销售订单_table4").Filter = "[款号] = '" & tbl2.current("款号") & "'"
End If


 回到顶部
帅哥,在线噢!
有点蓝
  2楼 | 信息 | 搜索 | 邮箱 | 主页 | UC


加好友 发短信
等级:超级版主 帖子:106710 积分:542745 威望:0 精华:9 注册:2015/6/24 9:21:00
  发帖心情 Post By:2018/8/18 11:29:00 [只看该作者]

http://www.foxtable.com/webhelp/scr/0445.htm

Dim tbl1 As Table=Tables("销售订单_table1")
Dim tbl2 As Table=Tables("销售订单_table2")
If tbl1.current IsNot Nothing Then
    Tables("销售订单_table2").Filter = "[物供号] = '" & tbl1.current("物供号") & "'"
    If tbl2.current IsNot Nothing Then
        Tables("销售订单_table4").Filter = "[款号] = '" & tbl2.current("款号") & "'"
    End If
End If

 回到顶部