Skip to main content

TableNewRow

The TableNewRow function allows to create a new row with the same column schema as the table. The returned Table Row could be used later to assign a value to each column. The data types of the value and the column must be consistent.

Prototype

    TableNewRow(Table)

Arguments

    Table       Table       By value  

Argument that contains the table.

Returns

    A new table row

Exception

    Undefined

Undefined is returned if one of the initialization values is not

Examples

    $R = TableNewRow($$myTable)

This will create [a new row ]for the table referenced by the variable $$myTable. The new row is recorded into the variable $R that could be used to initialize column values.

    $R['Column1'] = Expression

Assign the result of the expression to the Column1.