Description

Used to determine the width of a column within a Run_Report statement.

Syntax

COLUMN COLSIZE option

Remarks

The options available are:

ParameterValueDescription
optionCThe system will calculate the width based on the font size and the dictionary column length.
 Numeric valueThe twip number (1440 = 1 inch, 2880 = 2 inches) entered is used as the column width.
 WThe system will wrap the column data within the column. The width of the column will be the based on the dictionary column length.

Example

* Calculate the column width based on the font size and column length
CUSTOMER_NAME COLSIZE C
 
* Set the column size to 2 inches
CUSTOMER_NAME COLSIZE 2880
 
* Wrap the text within column basing the size on the dictionary’s column length
CUSTOMER_NAME COLSIZE W
 
stmt = "LIST CUSTOMERS CUSTOMER_NAME COLSIZE C CITY COLSIZE 1440"
Run_Report("",stmt)
  • No labels