CATable::PutSafeArray

Revision as of 08:04, 25 October 2015 by Jhuawen (talk | contribs) (Created page with "在你调用PutSafeArray后,你也应该调用CATable::Update确保表格数据在模型中生效。")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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.