动态加载每页加载10条数据
With DataTables("出库明细表")
.LoadTop = 10 .LoadOrder = "售出时间 Desc" .LoadFilter = "售出时间 = #" & Date.Today & "#" .LoadPage = 0 .Load(False) End With
然后用代码
DataTables("出库明细表").Compute("Count(_Identify)","[售出时间]='" & Date.Today & "'")
得到数字10
怎么得到售出时间是今天的总行数??