CATable::SetIndexOrder

This page is a translated version of the page CATable::SetIndexOrder and the translation is 100% complete.

ADE User Guide > ADE Server Class Reference > CATable

Other languages:
English • ‎中文

描述

將表格中索引的順序設置成«indexNames»的順序,«indexNames»必須只包含表格中索引元素的名稱,假設該表格不只一個索引。該順序決定使用SetDataByElementsSetDataByLabelsGetDataByElementsGetDataByLabels來訪問表格中單元格的順序。

索引順序也被GraphToStreamGraphToFile 用作表格的樞軸,,除非GraphWithStoredPivot屬性設置為ture。

數據類型

布爾值

示例用法

Dim indexNames(2)
indexNames(1) = "X"
indexNames(2) = "Y"
tab.SetIndexOrder(indexNames)

說明

API 錯誤

  • 24 – 「下標必須是一個由變體組成的數組」
  • 26 – 「下標數組的下界無法訪問」
  • 27 – 「下標數組的上界無法訪問」
  • 28 – 「必須最少指定數組中的一個元素」
  • 52 – 「指定名稱不是該數組的索引」

另請參考

Comments


You are not allowed to post comments.