<< Click to Display Table of Contents >>
Manual > Control Reference > Route > Route Methods >
Inserts a row into a table array variable.
syntax
InsertTableRow (
index,
value1,
value2
)
Parameters
index
Type:
Number
A number indicating which row of value1 to insert. If you specify 0, it will be inserted before the first row.
value1
value
The value to be inserted. It must be a two-dimensional array or a null value (#NOTHING#).
The values to insert. Must be a one or two dimensional array.
Explanation
value1 will have value2 inserted into the row specified by index.
Example
Insert record (insert after "Group01")
var vData1 = c(c("Gourp01","Gourp02","Gourp03","Gourp04"), c(2,3,4,5)); var vData2 = c("Gourp05", 8); var vData = ::InsertTableRow(1, vData1, vData2);
Inserting multiple records (insert after "Group02")
var vData1 = c(c("Gourp01","Gourp02","Gourp03","Gourp04"), c(2,3,4,5)); var vData2 = c(c("Gourp05","Gourp06"), c(8,9)); var vData = ::InsertTableRow(2, vData1, vData2);
Supported
○
Script Action
Can be used in server script Ver2 actions
Browser script
Can be used in browser scripts
×
Calculation Expression Syntax
Can be used in expression syntax (e.g. bind syntax)
reference
AddTableRow
InsertTableRow
DelTableRow
ExchangeTableColRow
MergeValue