Saltar para o conteúdo principal
Versão: 20 R9 BETA

VP Get row count

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

ParâmetroTipoDescrição
vpAreaNameText->Nome da área 4D View Pro no formulário
sheetInteger->Índice da folha (folha atual se omitida)
ResultadosInteger<-Número total de linhas

Descrição

O comando VP Get row count retorna o número total de linhas da sheet designada.

Em vpAreaName, passe o nome da propriedade da área 4D View Pro. Se passar um nome que não existe, é devolvido um erro.

You can define where to get the row count in the optional sheet parameter using the sheet index (counting begins at 0). Se omitido ou se você passar vk current sheet, a planilha atual será usada.

Exemplo

O código seguinte retorna o número de linhas na área 4D View Pro:

var $rowCount : Integer
$rowCount:=VP Get row count("ViewProarea")

Veja também

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