4D v17

VP Export to object

Home

 
4D v17
VP Export to object

VP Export to object 


 

VP Export to object ( vpAreaName ) -> Function result 
Parameter Type   Description
vpAreaName  Text in 4D View Pro area form object name
Function result  Object in 4D View Pro object

The VP Export to object command returns the 4D View Pro object attached to the 4D View Pro area vpAreaName. You can use this command for example to store the 4D View Pro area in a 4D database object field.

In vpAreaName, pass the name of the 4D View Pro area. If you pass a name that does not exist, an error is returned.

For more information on 4D View Pro objects, please refer to the 4D View Pro object paragraph. 

Example  

You want to get the "version" property of the current 4D View Pro area:

 C_OBJECT($vpAreaObj)<br/>C_LONGINT($vpVersion)<br/>$vpAreaObj:=VP Export to object("vpArea")<br/> // $vpVersion:=OB Get($vpAreaObj;"version") <br />$vpVersion:=$vpAreaObj.version



See also 

Handling 4D View Pro areas
VP EXPORT DOCUMENT
VP IMPORT FROM OBJECT

 
PROPERTIES 

Product: 4D
Theme: 4D View Pro Language
Number: 9029

 
HISTORY 

Created: 4D v16 R4

 
ARTICLE USAGE

4D View Pro Reference ( 4D v17)