Please enable JavaScript to view this site.

ESL Documentation

Object Inquiry Built-in Function

Return column heading text.

heading of column COL_ID of TABLE_NAME

COL_ID

The identifier for a column.

TABLE_NAME

The identifier for a table.

Description

Use this built-in function to return the column heading text of a table. The value returned depends on the type of column headings. The appropriate string is returned for letters and numbers settings. If the setting is text, then the application-specified string is returned. If the setting is blank or hide, then ESL returns a null string.

Example

 

response to item BCHeading from Menu

 action GetCol

 if (InputOK) then

         copy "heading of column " X " of Table = \""

         (heading of column X of Table) "\"" to MsgStr

         action SendMsg

 end if # InputOK