Please enable JavaScript to view this site.

ESL Documentation

Object Inquiry Built-in Function

Return the position number of a column.

position of column COL_ID of TABLE_NAME

COL_ID

The identifier of the column.

TABLE_NAME

The identifier of a table.

Description

Use this built-in function to return the position number of a column in a table.

Example

 

response to item BCPosition from Menu

 copy "" to Str

 action GetStr

 if (InputOK) then

         copy "position of column " Str " of Table = "

         (position of column Str of Table) to MsgStr

         action SendMsg

 end if # InputOK