Please enable JavaScript to view this site.

ESL Documentation

Object Inquiry Built-in Function

Return the number of selected rows.

selected rows of TABLE_NAME

TABLE_NAME

The identifier for a table.

Description

Use this built-in function to return the number of rows in the table that are selected, or 0 if none. You cannot use this built-in function within a definition declaration, nor when the parent of the table is temporary and invisible. Otherwise, an error is printed to the errorlog and 0 is returned.

Example

 

response to item BSelected from Menu

 copy "selected of Table" ": col " (selected columns of Table) to MsgStr

 append ", rows " (selected rows of Table) to MsgStr

 action SendMsg