|
|
|
|
- Use conditions
- Sort
- Looper bound to a data source and using a programmed iteration
Permite clasificar una control Looper de acuerdo a uno o más de sus atributos. // Sort according to one of the Looper control attributes selected in a Radio Button control SWITCH RADIO_RADIO1 CASE 1: LOOP_Customer.Sort("NAME") CASE 2: LOOP_Customer.Sort("COMPANY") CASE 3: LOOP_Customer.Sort("CITY") END
Sintaxis
Ordenar una control Looper según una lista de atributos Ocultar los detalles
<Result> = <Looper control>.Sort(<List of attributes>)
<Result>: booleano - True if the sort was performed,
- False otherwise.
<Looper control>: Nombre del control Nombre del control Looper a utilizar. <List of attributes>: Cadena de caracteres 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:
"[<Sens>]<Attribut 1>" + TAB + "[<Sens>]<Attribut 2>" + TAB + ... where:- <Direction>: sort direction (optional), can take the following values:
- "+": the sort will be performed in ascending order (default value).
- "-": the sort will be performed in descending order.
- <Attribute>: name of the attribute used for the sort.
Observaciones Use conditions La función .Sort puede utilizarse en: - a control Looper basada en un archivo de datos,
- a control Looper poblada programáticamente.
Looper bound to a data source and using a programmed iteration .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 browse, 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…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|