Action
Selects a range of cells in a table.
Availability
This functionality is supported only if you are using the Classic Agent.
Syntax
table.SetSelRange (trSelRange, bClearSelection, bUseMouse)
Variable
|
Description
|
trSelRange
|
The range to select.
TABLERANGE.
|
bClearSelection
|
If TRUE, clear any existing selection.
BOOLEAN.
|
bUseMouse
|
If TRUE, use mouse to select range. If FALSE, use keyboard.
BOOLEAN.
|
Notes
SelectRow raises the exception
E_TBL_SINGLE_CELL_ONLY if the table in the application does not support multiple-select tables.
Example
TABLERANGE trRange = {{"2", "id"}, {"2", "ship_date"}}
Emp.EmpTable.SetSelRange (trRange, TRUE, TRUE)