CATable::SetIndexOrder
ADE User Guide > ADE Server Class Reference > CATable
描述
Sets the order of the indexes in the table to the order of «indexNames», which must contain the names of only and all the indexes of the table, assuming it has more than one index. This order determines the order used by SetDataByElements, SetDataByLabels, GetDataByElements and GetDataByLabels to access a cell in a table.
The index order is also used as the table pivot by GraphToStream and GraphToFile unless the GraphWithStoredPivot property is set to true.
数据类型
布尔值
示例用法
Dim indexNames(2) indexNames(1) = "X" indexNames(2) = "Y" tab.SetIndexOrder(indexNames)
说明
API 错误
- 24 – “下标必须是一个由变体组成的数组”
- 26 – “下标数组的下界无法访问”
- 27 – “下标数组的上界无法访问”
- 28 – “必须最少指定数组中的一个元素”
- 52 – “指定名称不是该数组的索引”
另请参考
Comments
Enable comment auto-refresher