OBJECT GET MAXIMUM VALUE
OBJECT GET MAXIMUM VALUE ( {* ;} object ; maxValue )
Parameter | Type | Description | |
---|---|---|---|
* | Operator | → | If specified, object is an object name (string) If omitted, object is a field or variable |
object | any | → | Object name (if * is specified) or Field or variable (if * is omitted) |
maxValue | Date, Time, Number | ← | Current maximum value for object |
This command is not thread-safe, it cannot be used in preemptive code.
Description
The OBJECT GET MAXIMUM VALUE command returns, in the maxValue variable, the current maximum value of the object(s) designated by the object and * parameters.
You can set the "Maximum Value" property using the Property List in Design mode, or using the OBJECT SET MAXIMUM VALUE command.
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).