Language Reference Guide : System Classes : QueryCol Class : GroupBy Attribute
 
Share this page          
GroupBy Attribute
Data Type: smallint
4GL Access: RW
The GroupBy attribute stores a number that represents the order of the column in the group by clause.
If all GroupBy attributes evaluate to zero, no group by clause is generated. An order number must be specified for all appropriate columns if it is set for any column. It is valid to group by columns that are not selected into the target list.
This attribute is irrelevant when used in conjunction with SQLSelect objects.