Skip to main content


Command Description

Get row numbers from the table object and return number

Command Prototype

iRet = Mage.ExtractSingleTableRowNum(objTableData)

Parameter Description

objTableDataTrueexpressionobjTableDataUse the "Get Specified Table" command to output variable or the "Get All Tables" command to specify the variable of the table index (for example: arrayRet[1], which means the table index is 2)


iRet,The variable used to save the output of the command.


Dim objTableData=''  // Table object, use the variable output by the "Get Specified Table" command or the variable of the table index specified by the "Get All Tables" command (for example: arrayRet[1], indicating that the table index is 2 form) 

TracePrint "--------------------Get table row count--------------------"
// --------------------------------------------------------
// [Remarks] Get the number of table rows
// Input parameters:
// objTableData--table object

// Output parameters:
// iRet: The variable to which the output of the function call is saved

// Command prototype: iRet = Mage.ExtractSingleTableRowNum(objTableData)
// --------------------------------------------------------

iRet = Mage.ExtractSingleTableRowNum(objTableData)