|
|
|
|
|
LooperCount (Function) In french: ZoneRépétéeOccurrence Returns the number of rows in a Looper control.
Résultat1 is int
Résultat1 = LooperCount(ZR_Zone1)
LIB_LIBELLE1 = "Il y a " + LooperCount(ZR_ZoneResultat) + " réponses"
Syntax
<Result> = LooperCount(<Looper control> [, <Row/Attribute>])
<Result>: Integer - Number of rows found in a Looper control,
- 0 if the Looper control is empty.
<Looper control>: Control name Name of the Looper control to be used. If this parameter corresponds to an empty string (""), the count will be performed on the current Looper control. <Row/Attribute>: Optional constant | | toColumn | Number of attributes found in the Looper control. | toShown
| Number of non-empty visible rows.
| toTotal (Default value)
| Looper control based on a data file:- Total number of records:
- in the linked data file (if there is no filter).
- filtered in the linked data file (if there is a filter).
- in the query (if the Looper control is linked to a query).
- Number of visible records.
Warning the "End of initialization" event is only executed when the total has been calculated. | toVisible | Number of visible rows (including the empty rows or the rows partially displayed). Corresponds to the maximum number of rows that can be displayed in the Looper control.
|
Remarks Use conditions LooperCount can be used on: - a Looper control based on a data file,
- a Looper control populated programmatically.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|