Description
Sets
or returns the sort type for the field. You can specify whether to sort ascending
or descending with the Sort
constants.
Syntaxe
VBScript
queryfielddef.SortType
queryfielddef.SortType NewValue
Perl
$queryfielddef->GetSortType();
$queryfielddef->SetSortType(NewValue);
- Identificateur
- Description
- queryfielddef
- A QueryFieldDef object.
- NewValue
- A Long that specifies the sort type for the field. The
value corresponds to one of the Sort
constants.
- Valeur de retour
- Returns a Long that identifies the sort type for the field.
The value corresponds to one of the Sort
constants.
Exemples
VBScript
idfield.SetSortType AD_SORT_ASC
Perl
$idfield->SetSortType($CQPerlExt::CQ_SORT_ASC);