Consultor Eletrônico



Kbase P106634: Sorting logical fields, how do they work?
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   15/03/2010
Status: Unverified

GOAL:

Sorting logical fields, how do they work?

GOAL:

is it True/False or False/true?

FIX:

Logical fields are sorted by their true, false value. They are not sorted by the format labels in the data dictionary.
In ascending order false comes first then true.
In descending order true comes first then false.
The algorithm is simple if 0 is associated to False and 1 to True.