Calling convention: CIP_Max("CurBaseEntryName": String): Variant
Description: Executes a database MAX aggregate for the selected entry of the current object.
Parameters:
CurBaseEntryName = Entry name belonging to the current object.
Returns: Maximum database value, preserving the field's Variant type, or NULL when the argument is NULL or the aggregate has no value. Missing object or entry context raises an exception.
Availability: Requires a current object, a valid object entry, and database access.
Example:
MaximumValue := CIP_Max("ProductionValue");