Skip to main content
Version: Next

VP SET SHEET COUNT

VP SET SHEET COUNT ( vpAreaName : Text ; number : Integer )

ParameterTypeDescription
vpAreaNameText->4D View Pro area form object name
numberInteger->Number of sheets

Description

The VP SET SHEET COUNT command sets the number of sheets in vpAreaName.

In number, pass a number corresponding to how many sheets the document will contain after the command is executed.

Warning: The command will delete sheets if the previous amount of sheets in your document is superior to the number passed. For example, if there are 5 sheets in your document and you set the sheet count to 3, the command will delete sheets number 4 and 5.

Example

The document currently has one sheet:

To set the number of sheets to 3:

VP SET SHEET COUNT("ViewProArea";3)

See also

VP Get sheet count