For Each a As OBJECT In Tables("xmfp").grid.Parent.controls
For Each b As OBJECT In a.controls
For Each c As OBJECT In b.controls
If c.text = "筛选树" Then
Tables("XMFP").OpenFilterTree("代号|项目名称")
End If
Next
Next
Next
---------------------------
版本:2019.6.18.1
---------------------------
代码执行出错,错误信息:
System.NullReferenceException: 未将对象引用设置到对象的实例。
在 UserCode.Test()
---------------------------
确定
---------------------------