VP Get tables
History
Release | Changes |
---|---|
19 R7 | Added |
VP Get tables ( vpAreaName : Text { ; sheet : Integer } ) : Collection
Parameter | Type | Description | |
---|---|---|---|
vpAreaName | Text | -> | 4D View Pro area form object name |
sheet | Integer | -> | Sheet index (current sheet if omitted) |
Result | Collection | <- | 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"]