回复 2楼lime9921的帖子
排序问题可以通过两种方法实现:
1.通过 Spread Sort 实现:
- Private Sub Command2_Click()
- Dim SortKeys, SortKeyOrder As Variant
- SortKeys = Array(1)
- SortKeyOrder = Array(1)
- ' Sort data in first five columns and rows by column 1 and 3
- fpSpread1.Sort 1, 1, 10, 1, SortByRow, SortKeys, SortKeyOrder
- End Sub
复制代码
2.在获取数据时通过 sql sort by实现 . |