Consultor Eletrônico



Kbase P40164: How to order a report by a certain field?
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   17/02/2004
Status: Unverified

FACT(s) (Environment):

How to order a report by a certain field?

FIX:

To sort a report by a certain field, you can use the BY expression which sorts the selected records by the value of the expression. By default, Progress retrieves the records in the order of the index used to satisfy the criteria or the primary index.

Example Code:

FOR EACH customer BY credit-limit

The statement above displays the customers sorted in order by credit-limit.