Skip to main content
Version: 20 R7 BETA

OBJECT SET MINIMUM VALUE

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

ParameterTypeDescription
*OperatorIf specified, object is an object name (string)
If omitted, object is a field or variable
objectanyObject name (if * is specified) or
Field or variable (if * is omitted)
minValueDate, Time, NumberMinimum value for object

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

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