Skip to main content
Version: 20 R6 BETA

VP Get tables

History
ReleaseChanges
19 R7Added

VP Get tables ( vpAreaName : Text { ; sheet : Integer } ) : Collection

ParameterTypeDescription
vpAreaNameText->4D View Pro area form object name
sheetInteger->Sheet index (current sheet if omitted)
ResultCollection<-Text collection with all table names

Description

The VP Get tables command returns a collection of all table names defined in the sheet.

In vpAreaName, pass the name of the 4D View Pro area.

In sheet, pass the index of the target sheet. If no index is specified, the command applies to the current sheet.

Indexing starts at 0.

Example

The following code will return a collection of all the table names in the current sheet:

$tables:=VP Get tables("ViewProArea")
//$tables contains for example ["contextTable","emailTable"]

See also

VP CREATE TABLE