Description
Use COLHEAD to create an alternate column heading for a column.
Syntax
COLUMN COLHEAD "COL_HEADING"
Remarks
ColHead has the following parameter.
Parameter | Description |
---|---|
col_heading | The format override specification col_heading contains the alternate text to be used in the column heading. If the column heading created in the format override is longer than the column width, the column heading is truncated to fit the column width. |
To create multiline headings, break the text with Char(13). |
Example
* Override the default column name for CUSTOMER_NAME with "Name". stmt = 'LIST CUSTOMERS CUSTOMER_NAME COLHEAD "Name" ADDRESS1 CITY' Run_Report("",stmt) * Override the default column name for CUSTOMER_NAME using a * multiline header. stmt = 'LIST CUSTOMERS CUSTOMER_NAME ' stmt:= 'COLHEAD "Customer':char(13):'Name" ' stmt:= 'ADDRESS1 CITY' Run_Report("",stmt)