加载最后一条数据:
Dim Value()As StringDim Filter As StringValue = e.Node.FullPath.Split("\")Select Case e.Node.Level Case 0 Filter ="[产品] = '" & Value(0) & "'" Case 1 Filter ="[产品] = '" & Value(0) & "' And [客户] = '" & Value(1) & "'"End SelectDataTables("订单").LoadFilter = FilterDataTables("订单").LoadTop = 1DataTables("订单").LoadOrder = "日期 Desc"DataTables("订单").Load()