query.dataSourceNo(1).findRange(fieldNum (VendTable, HistoryDate)).value(SysQuery::range(fromDate, toDate));