COLUMN Object
- Last UpdatedMar 24, 2023
- 1 minute read
The column object defines the way in which a column of a table object is populated.
The formatting of a column should be separate from the column definition itself and be held within the report object used to extract data from a table object. This will allow the same table to have many different reports produced from it, without the need to regenerate the table.
Methods
|
Name |
Result |
Purpose |
|---|---|---|
|
Column() |
Constructor (initializes all the object settings). |
|
|
Column(EXPRESSION, BOOLEAN, BOOLEAN, STRING) |
Constructor setting Expression, Sort, Ascending, Key. |
|
|
Key (STRING) |
Sets key and forces it to be uppercase. |
|
|
Expression (EXPRESSION) |
Defines the expression used to populate the column. |
|
|
Sort() |
Switches on column sort. |
|
|
NoSort() |
Switches off column sort, this is the default setting. |
|
|
Ascending() |
Sets column sort to ascending order. |
|
|
Descending() |
Sets column sort to descending order. |
|
|
Key() |
STRING |
Returns the key word for use when reporting. |
|
Expression() |
EXPRESSION |
Returns the expression used to derive the content of the column. |
|
IsSorted() |
BOOLEAN |
Returns TRUE if the column is sorted. |
|
SortType() |
STRING |
Returns the column sort setting, ascending, descending, or off. |