4D v13.4QR SET SORTS |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v13.4
QR SET SORTS
QR SET SORTS
The QR SET SORTS command sets the sort orders for the columns in the report whose reference is passed in area. aColumns: in this array, you need to store the column numbers of columns to which you want to assign a sort order. aOrders: each element of this array must contain the sort orders for the matching column in the aColumns array.
In the case of cross-table mode, you cannot have more than two items in the array. You can only sort columns (1) and rows (2). The data (that are the intersection of columns and rows) cannot be sorted. Here is the code to sort only the rows in the case of a cross-table report: ARRAY REAL($aColumns;1) If you pass an invalid area number, the error -9850 will be generated. |
PROPERTIES
Product: 4D
INDEX HISTORY
Created: 4D 2003 SEE ALSO |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||