4D v16.3

OBJECT SET MAXIMUM VALUE

Home

 
4D v16.3
OBJECT SET MAXIMUM VALUE

OBJECT SET MAXIMUM VALUE 


 

OBJECT SET MAXIMUM VALUE ( {* ;} object ; maxValue ) 
Parameter Type   Description
Operator in If specified, object is an object name (string) If omitted, object is a field or variable
object  Form object in Object name (if * is specified) or
Field or variable (if * is omitted)
maxValue  Date, Time, Number in Maximum value for object

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

The "Maximum 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 maxValue, pass the new maximum 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 MAXIMUM VALUE
OBJECT SET MINIMUM VALUE

 
PROPERTIES 

Product: 4D
Theme: Objects (Forms)
Number: 1244

 
HISTORY 

Created: 4D v14

 
ARTICLE USAGE

4D Language Reference ( 4D v16)
4D Language Reference ( 4D v16.1)
4D Language Reference ( 4D v16.2)
4D Language Reference ( 4D v16.3)