4D View v14

PV SORT COLUMN

Home

 
4D View v14
PV SORT COLUMN

PV SORT COLUMN 


 

PV SORT COLUMN ( area ; column ; order ) 
Parameter Type   Description
area  Longint in 4D View area
column  Longint in Column number
order  Longint in Sort order

The PV SORT COLUMN command is used to carry out a standard sort, in ascending or descending order, on a column set by the column parameter in the 4D View area.

Sorting a dynamic column produces a synchronized sort of the other columns so that the records always remain in their initial state.
A sort on a static column only sorts that column.

To set the order parameter, use one of the following constants, located in the “PV Header sort” theme:

Constant Type Value Comment
pv ascending sort Longint 2 4D View carries out ascending sort.
pv descending sort Longint 3 4D View carries out descending sort.

Note: This command can work only if the sort was previously allowed using the PV SET AREA PROPERTY command.

Example  

With the following statement, the column will be sorted in ascending order:

 
PROPERTIES 

Product: 4D View
Theme: PV Cell manipulation
Number: 15798

 
HISTORY 

Created: 4D View 2004

 
SEE ALSO 

PV SET AREA PROPERTY
PV SORT ONE

 
ARTICLE USAGE

4D View Language ( 4D View v11.4)
4D View Language ( 4D View v12)
4D View Language ( 4D v13)
4D View Language ( 4D View v14 R2)
4D View Language ( 4D View v14)
4D View Language ( 4D View v14 R3)
4D View Language ( 4D View v14 R4)