SetDataTableCell
Use this function to set a specific cell in a DataTable object. The intersection of the row index and column index specify the cell to set.
Syntax
SetDataTableCell (DataTableName, RowIndex, ColumnIndex, "Value")
where:
- DataTableName is the name of the DataTable object in which to set the cell.
- RowIndex is the row index of the cell to update.
- ColumnIndex is the column index of the cell to update.
- Value is the value to set for the cell, enclosed in double quotation marks ("").
Syntax example
Create Variable status as NUM
Create Variable NewStartDate as STRING
Set Variable NewStartDate = "2016-01-25"
Set Variable status = SetDataTableCell (SalaryTable, 1, 1, "$NewStartDate$")