Language Reference Guide : System Classes : QueryCol Class : OrderBy Attribute
 
Share this page          
OrderBy Attribute
Data Type: smallint
4GL Access: RW
The OrderBy attribute specifies the order number of the column in the order by clause. If all OrderBy attributes evaluate to zero, no order by clause is generated.
If the order number specified is positive, the order by clause will be ascending on this column; if it is negative, the order by clause will be descending on this column.
This attribute is irrelevant when used in conjunction with SQLSelect objects.