求助 项目打开时所有表只加载最后5行,下面代码无效求助
AfterOpenProject
For Each dt As DataTable In DataTables
Dim idx As Integer = math.max(0, dt.DataRows.Count - 5)
dt.loadFilter = "[_Identify] >= " & dt.DataRows(idx)("_identify")
Next
http://www.foxtable.com/webhelp/topics/1928.htm
For Each dt As DataTable In DataTables
dt.loadFilter = ""
dt.LoadTop = 5
dt.LoadOrder = "[_Identify] Desc"
dt.Load
Next