A family of Microsoft relational database management systems designed for ease of use.
Max is an Aggregate function that returns the maximum value in a single column/field. To find a maximum value from several fields in a single record, you can create your own function along these lines:
Public Function MaxOfList(ParamArray vValues() As Variant) As Variant
Dim vX As Variant
MaxOfList = vVaues(0)
For Each vX In vValues
If vX >= Nz(MaxOfList, vX) Then MaxOfList = vX
Next vX
End Function
And use it this way:
MaxOfList(Field1, Field2, ...)
Or you can use a long series of nested IIf functions that is very difficult to read.
IIf(field1>field2, IIf(field1>field3, IIf(field1>field4, field1, IIf(field2>field3, IIf(field2>field4, field2, IIf(field3>field4, field3, field4))))))
But I have no faith that I got all that glop right.