Please enable JavaScript to view this site.

ESL Documentation

Object Inquiry Built-in Function

Return the number of selected columns.

selected columns of TABLE_NAME

TABLE_NAME

The identifier for a table.

Description

Use this built-in function to return the number of columns in the table that are selected, or 0 if none. You cannot use this built-in function during compile-time, nor when the parent of the table is temporary and invisible. If you do, 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