Aller au contenu principal
Version: Next

VP Get row count

VP Get row count ( vpAreaName : Text {; sheet : Integer } ) : Integer

ParamètresTypeDescription
vpAreaNameText->Nom d'objet formulaire zone 4D View Pro
sheetInteger->Numéro d'indice de la feuille (feuille courante si omis)
RésultatInteger<-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")

Voir également

VP Get column count
VP SET COLUMN COUNT
VP SET ROW COUNT