OBJECT SET VALUE sets the value of the current data source for the form object(s) designated by the objectName parameter.
In the objectName parameter, pass the name of a form object (a string). You can set the value of multiple form objects by using the wildcard character (“@”).
The value parameter allows you pass a new value (any type) for the form object's data source.
Note: If the data source is a non-assignable expression, OBJECT SET VALUE does nothing. For more information, see assignable vs non-assignable expressions.
You want to get the data source value for a form object, get its name, and set a new value: