|
|
|
|
|
- Use conditions
- Sort
- Looper bound to a data source and using a programmed iteration
Allows sorting a Looper control according to one or more of its attributes.
SWITCH RADIO_RADIO1
CASE 1: ZR_Client.Sort("NAME")
CASE 2: ZR_Client.Sort("COMPANY")
CASE 3: ZR_Client.Sort("CITY")
END
Sintaxis
Sorting a Looper control according to a list of attributes Ocultar los detalles
<Result> = <Looper control>.Sort(<List of attributes>)
<Result>: Boolean - True if the sort was performed,
- False otherwise.
<Looper control>: Control name Name of the Looper control to be used. <List of attributes>: Character string Name of the attributes according to which the Looper control will be sorted (up to 10 attributes). This character string must have the following format:
"[<Direction>]<Attribute 1>" + TAB + "[<Direction>]<Attribute 2>" + TAB + ... with:- <Sens> Sort direction (optional), can take the following values:
- "+": sorting will be ascending (default value).
- "-": sorting will be in descending order.
- <Attribut>: name of the attribute used for sorting.
Observaciones Use conditions La función <Looper>.Sort puede utilizarse en: - un control Looper basado en un archivo de datos,
- un control Looper rellenado mediante programación.
Looper bound to a data source and using a programmed iteration <Looper>.Sort does not work on a Looper control with the following characteristics: - Looper control bound to a data source,
- Looper control that uses Recorrer mediante programación ("Content" tab in the control description window).
To change the display order of a Looper control with programmed iteration, you must adapt the code found in the different read processes of the Looper control (process for reading the first one, the next one, the previous one, ...).
Esta página también está disponible para…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|