Skip to main content
Version: Next

OBJECT SET MINIMUM VALUE

OBJECT SET MINIMUM VALUE ( {* ;} object ; minValue )

ParameterTypeDescription
*Operator🡒If specified, object is an object name (string)
If omitted, object is a field or variable
objectForm object🡒Object name (if * is specified) or
Field or variable (if * is omitted)
minValueDate, Time, Number🡒Minimum value for object

Description

The OBJECT SET MINIMUM VALUE command modifies the minimum value of the object(s) designated by the object and * parameters for the current process.

The "Minimum Value" property can be applied to number, date or time type data. For more information, refer to Maximum and minimum values in the Design Reference manual.

Passing the optional * parameter indicates that the object parameter is an object name (string). If you do not pass this parameter, it indicates that the object parameter is a field or variable. In this case, you pass a field or variable reference instead of a string (field or variable object only).

In minValue, pass the new minimum value you want to assign to the object for the current process. This value must correspond to the object type, otherwise error 18 "Field types are incompatible" is returned.

See also

OBJECT GET MINIMUM VALUE
OBJECT SET MAXIMUM VALUE