VP Get sheet index
VP Get sheet index ( vpAreaName : Text ; name : Text ) : Integer
Paramètres | Type | Description | ||
---|---|---|---|---|
vpAreaName | Text | -> | Nom d'objet formulaire zone 4D View Pro | |
name | Text | -> | Nom de la feuille | |
Résultat | Integer | <- | Numéro d'indice de la feuille |
Description
The VP Get sheet index
command returns the index of a sheet based on its name in vpAreaName.
In vpAreaName, pass the name of the 4D View Pro area.
In name, pass the name of the sheet whose index will be returned. If no sheet named name is found in the document, the method returns -1.
La numérotation démarre à 0.
Exemple
Dans le document suivant :
Lire l'index de la feuille appelée "Total premier trimester" :
$index:=VP Get sheet index("ViewProArea";"Total premier trimestre") //retourne 2