Sort Component
Fnd_Sort_Direction
Fnd_Sort_Direction ({direction}) -> Longint
Parameters
| Parameter | Type | Description |
|---|---|---|
| direction | Longint | Sort direction (1 or -1) (optional) |
| Function result | Longint | Current sort direction setting |
Description
This command allows the developer to set or get the currently selected sort direction for the current process. If a valid direction is specified, this routine will make it the default direction for subsequent sorts, until the user changes the sort direction setting. Pass 1 for an ascending sort, or -1 for a descending sort.
Fnd_Sort_Direction (-1) ` Descending sort.
This function also returns the sort direction set for the current process, so it can be stored for later use in another process or the next time the database is used.
Extracted source text
Fnd_Sort_Direction ({direction}) ➜ Longint
Parameter Type Description
direction Longint Sort direction (1 or -1) (optional)
Function result Longint Current sort direction setting
This command allows the developer to set or get the currently selected sort direction for the current
process. If a valid direction is specified, this routine will make it the default direction for subsequent sorts,
until the user changes the sort direction setting.
Pass 1 for an ascending sort, or -1 for a descending sort.
Fnd_Sort_Direction (-1) ` Descending sort.
This function also returns the sort direction set for the current process, so it can be stored for later use in
another process or the next time the database is used.