.NET Framework 版本:2.0.50727.8662
Foxtable 版本:2014.11.11.1
错误所在事件:加载[Zsyspb]失败!
详细错误信息:
列名 '嘉北社区' 无效。
代码如下:求老师指点!谢谢!
Dim Value()As String
Dim Filter As String
Value = e.Node.FullPath.Split("\")
Select Case e.Node.Level
Case 0
Filter ="Year(JYG607) = '" & Value(0) & "'"
Case 1
Filter ="Year(JYG607) = '" & Value(0) & "' And Month(JYG607) = " & Value(1)
Case 2
Filter ="Year(JYG607) = '" & Value(0) & "' And Month(JYG607) = " & Value(1) & " And GS607 = "& Value(2)
End Select
DataTables("Zsyspb").LoadFilter = Filter
DataTables("Zsyspb").Load()