- Introduction to WorkXpress
- Building Your Application
- Examples and Best Practices
- Technical Manual
The Maximum Field Value function (MAX_FIELD) is used to find the largest number value returned by a certain query.
The Maximum Field Value function has one parameters:
Allowed Inputs: field values
The parameter of the Maximum Field Value function are the field values to be examined. The input is a query built using the Query Builder to find field values on one or many record(s) in a table.
The output of the Maximum Field Value function is the largest number found by a query.
If an Invoice record has 4 related Line Item records, and those records have values of -6, 8, 8, and 24 in the Quantity field, COUNT(${Line Item ~> Quantity}) would result in 24.