以文本方式查看主题

-  Foxtable(狐表)  (http://www.foxtable.com/bbs/index.asp)
--  专家坐堂  (http://www.foxtable.com/bbs/list.asp?boardid=2)
----  求助 ,排序字段  (http://www.foxtable.com/bbs/dispbbs.asp?boardid=2&id=173938)

--  作者:夜点蚊香
--  发布时间:2021/12/23 10:31:00
--  求助 ,排序字段

Dim drs As List(Of DataRow)
drs = DataTables("订单").Select("[产品] = \'PD01\' And [日期]= #1/4/1999#","数量 DESC")

求助,用数据在表格中的位置,从上到下,用哪个参数排序。

[此贴子已经被作者于2021/12/23 10:31:34编辑过]

--  作者:有点蓝
--  发布时间:2021/12/23 10:46:00
--  
drs = DataTables("订单").Select("[产品] = \'PD01\' And [日期]= #1/4/1999#","_sortkey DESC")