Skip to main content
Version: 20 R7 BETA

OBJECT Get value

OBJECT Get value ( objectName ) -> Function result

ParameterTypeDescription
objectNameTextObject name
Function resultMixedCurrent value of the form object's data source

This command is not thread-safe, it cannot be used in preemptive code.

Description

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.

Note: OBJECT 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