VP Get row count
VP Get row count ( vpAreaName : Text {; sheet : Integer } ) : Integer
Paramètres | Type | Description | ||
---|---|---|---|---|
vpAreaName | Text | -> | Nom d'objet formulaire zone 4D View Pro | |
sheet | Integer | -> | Numéro d'indice de la feuille (feuille courante si omis) | |
Résultat | Integer | <- | Nombre total de lignes |
Description
The VP Get row count
command returns the total number of rows from the designated sheet.
In vpAreaName, pass the name property of the 4D View Pro area. Si vous passez un nom inexistant, une erreur est retournée.
You can define where to get the row count in the optional sheet parameter using the sheet index (counting begins at 0). If omitted or if you pass vk current sheet
, the current spreadsheet is used.
Exemple
Le code suivant retourne le nombre de lignes dans la zone 4D View Pro :
var $rowCount : Integer
$rowCount:=VP Get row count("ViewProarea")