SetRangeValue Method (Table)

Class

Table.

Action

Sets the values for a specified range in a table.

Availability

This functionality is supported only if you are using the Classic Agent.

Syntax

table.SetRangeValue (Range, llaRangeValues)
Variable Description
Range The range to set values for. TABLERANGE.
llaRangeValues The list of values for each cell in the range. Each sublist in llaRangeValues contains the contents for each cell in one row in the range. LIST OF LIST OF ANYTYPE.

Example

LIST OF LIST OF ANYTYPE llaVals = {{1001, "Jones"}, {1002, "Carullo"}}
TABLERANGE TableRange = {{1,1}, {2,2}}
WINDOW wAdd = DialogBox("Add-Only Table").Table("#1")
wAdd.SetRangeValue (TableRange, llaVals)