The Column( ) function returns the value of a column of a race view.
Syntax
1. | Column(cColumnHeading) |
2. | Column(nNumericColumnID) |
Argument |
Description |
cColumnHeading |
Heading caption of column Important: The argument cColumnHeading is case-sensitive. You must use Column('FP'), not Column('Fp'), to retrieve data of a column of name 'FP'. |
nNumericColumnID |
Numeric column ID is the rightmost number in the full Column ID. The following figure shows how to find the Column ID in the View Definition Editing Form |
Returns
Value returned by the function will be of the same type and width of the referencing column.
Examples
This following expression returns average of the columns This Rating and Last Rating.
(Column('This Rating')+Column('Last Rating'))/2
If the numeric column ID of the This Rating column and the Last Rating column are 3 and 5 respectively, the above expression may be rewritten as:
(Column(3)+Column(5))/2
See also
Page url: http://www.racematenet.com/english/help/index.html?column.htm