This is the legacy 4D documentation web site. Documentations are progressively being moved to developer.4d.com

Home

 
4D v20 R7
OBJECT Get value

OBJECT Get value 


 

OBJECT Get value ( objectName ) -> Function result 
Parameter Type   Description
objectName  Text in Object name
Function result  Mixed in Current value of the form object's data source

The OBJECT Get value command returns the current value of the data source for the form object(s) designated by the objectName parameter.

In the objectName parameter, pass the name of a form object (string). If you use the wildcard character (“@”) for multiple objects, only the value of the data source from the first form object is returned.

NoteOBJECT Get value is not available on list box column objects.

 

Returned value

Current value of the form object's data source. 

Notes:

  • If the data source is an array, the command returns the index of the array
  • If the data source is an expression, the command returns the value evaluated value since the last execution cycle

Example  

See the example for the OBJECT SET VALUE command. 



See also 

OBJECT SET VALUE

 
PROPERTIES 

Product: 4D
Theme: Objects (Forms)
Number: 1743

 
PAGE CONTENTS 
 
HISTORY 

Created: 4D v18 R4

 
ARTICLE USAGE

4D Language Reference ( 4D v20 R7)