|
|
|
|
|
SortType (Property) In french: TypeTri
The SortType property is used to: - Find out the sort direction defined for an item or for a component of a composite key. This item was defined in the data model editor or programmatically.
- Define the sort direction for an item or a component of a composite key (when the item is described through programming).
Res is int
Res = Client.NomPrénom[1].TypeTri
SWITCH Res
CASE hIncreasing : Info("Tri croissant sur Nom")
CASE hDecreasing : Info("Tri décroissant sur Nom")
CASE hNotSorted : Info("Pas de tri sur Nom")
END
Syntax
Finding out the sort direction defined for an item Hide the details
<Result> = <Data file>.<Item>.SortType
<Result>: Integer constant Type of sort:
| | hDecreasing | Descending order | hIncreasing | Ascending order | hNotSorted | Item not sorted |
<Data file>: Character string Name of the data file used. <Item>: Character string Name of the item used. If the item is a component of a composite key, <Item name> corresponds to: <Name of composite key>[<Component index>]. Example: LastNameFirstName[1].
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|