Skip to main content
insightsoftware Documentation insightsoftware Documentation
{%article.title%}
Published:
Was this article helpful?
0 out of 0 found this helpful

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$")

Published:

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$")

For an optimal Community experience, Please view on Desktop