Skip to main content
Version: 21 R4 BETA

OBJECT Get value

OBJECT Get value ( objectName : Text ) : any

ParameterTypeDescription
objectNameText→Object name
Function resultany←Current value of the form object's data source
History
ReleaseChanges
18 R4Created

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

Properties​

Command number1743
Thread safeno