Consultor Eletrônico



Kbase P62340: ADM2 Documentation for setQuerySort
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   13/01/2004
Status: Unverified

GOAL:

ADM2 Documentation for setQuerySort

GOAL:

Where can be found the documentation for setQuerySort in ADM2

FIX:

setQuerySort
Sets or resets the sorting criteria (BY phrase) of the database query or the QueryString property.

Parameters:
pcSort - The new sort (BY) clause.
(pcSort AS CHARACTER ) :

Return:
LOGICAL

Type:
ADM 2 function

Location
DLC/src/adm2/queryext.p

Notes:
- If the user previously reset the query's where-clause to its design time value, that where clause is used as the basis for the new Sort sequence.
- If there is a pending query in the QueryString property the sort will be added to that and not to the actual query, because queryOpen() will use the QueryString if it ihas data.
- setQuerySort builds on the work of setQueryWhere, but setQueryWhere writes over anything done in setQuerySort.