Progress
Report Builder
User’s Guide
MAXIMUM
Compares two or more values and returns the largest value.
SYNTAX
expression
A constant, field name, or expression. All the values must have the same data type.
When comparing character values, if at least one of the character fields is defined as case sensitive, then MAXIMUM treats all of the values as case sensitive for the sake of the comparison. If none of the values is case sensitive, MAXIMUM treats lowercase letters as if they are uppercase letters.
EXAMPLETo prevent the discounted price from going below $10, create a calculated field containing this expression:
Discount-Price is a calculated field with the following expression:
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |