Please enable JavaScript to view this site.

ESL Documentation

Action Statement

Select or deselect a column, row, or table.

{select|deselect}

[ column COL_ID of

| row ROW_ID of ]

TABLE_NAME

column COL_ID

The identifier for a column.

row ROW_ID

The identifier for a row.

TABLE_NAME

The identifier for the table.

Description

Use this statement to specify the row, column, and/or table you want to use or release. The types of selection allowed are limited by the attributes of the table. That is, you can select or deselect an entire table only if the table allows either multiple row selection or multiple column selection. Similarly, you can select or deselect a column only if the table allows single or multiple column selection, and you can select or deselect a row only if the table allows single or multiple row selection.

The parent of the table may not be temporary and invisible when you issue this statement or it will be ignored.

Example

 

response to item ColSelect from Menu

 action GetCol

 if (InputOK) then

         copy "select column " X " of Table" to MsgStr

         action SendMsg

         select column X of Table

 end if # InputOK

 

response to item ColDeselect from Menu

 action GetCol

 if (InputOK) then

         copy "deselect column " X " of Table" to MsgStr

         action SendMsg

         deselect column X of Table

 end if # InputOK

 

response to item RowSelect from Menu

 action GetRow

 if (InputOK) then

         copy "select row " Y " of Table" to MsgStr

         action SendMsg

         select row Y of Table

 end if # InputOK

See Also

table Object Definition