|
|
|
|
|
- Limitations
- List Box control based on a data file
- Last element
- Miscellaneous
ListCount (Function) In french: ListeOccurrence Returns the number of elements in a List Box, ListView or Combo Box control. Note: The ListCount function can be used on both: - List Box controls based on a data file or populated programmatically,
- single-selection or multi-selection List Box controls.
ResNombreElément = ListCount(LISTE_ListeClient)
Syntax
<Result> = ListCount(<List Box control>)
<Result>: Integer Number of elements (rows) found in the specified control. <List Box control>: Control name Name of the List Box or Combo Box control to be used. If this parameter corresponds to an empty string (""), the control to which the current process belongs will be used.
Remarks Limitations If the specified List Box or Combo Box control is linked to a data file that contains more than 2,147,483,647 records, the returned value is truncated to this value. Last element To position on the last element of List Box control, use the following syntax:
ListeSelectPlus(<Champ Liste>, <Champ Liste>.Occurrence) or <Champ Liste> = <Champ Liste>.Occurrence or
<Champ Liste> = ListeOccurrence(<Champ Liste>) Miscellaneous - To find out the number of rows in a Table control, use TableCount.
- ListCount can be used on a "Combo Box" table column.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|