CATable::PutSafeArray

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

ADE User Guide > ADE Server Class Reference > CATable

Other languages:
English • ‎中文

CATable::PutSafeArray(theArray)

使用相同維度的一個數組內容替換當前表格的內容。

當你設置一個具有2個或者更多維度的數組時,你應該先調用SetIndexOrder來確保結果中維度的順序是相對應的。

在你調用PutSafeArray後,你也應該調用CATable::Update確保表格數據在模型中生效。

返回值

Boolean(布爾值:success或者 failure)

示例用法

該表格設定Visual Basic數組的內容。

Dim Var As Object
Dim TheArray
TheArray = Var.GetSafeArray
Var.PutSafeArray (TheArray)

錯誤代碼

24 – 「Subscript(下標)必須是一個數組變體」
50 – 「安全數組尺寸,或者維數不對」

另請參考

Comments


You are not allowed to post comments.