SelectRow Method (Table)

Class

Table.

Action

Selects the specified row in a table.

Availability

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

Syntax

table.SelectRow (iRow, bClearSelection, bUseMouse)
Variable Description
iRow The row to select. INTEGER.
bClearSelection If TRUE, clear any existing selection. BOOLEAN.
bUseMouse If TRUE, use mouse to select row. 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.

Java tables do not have row headers. Therefore, when calling SelectRow on Java tables, you must set bUseMouse to FALSE.

Example

EmpForm.EmpTable.SelectRow (1, TRUE, TRUE)