Showing a max value

Back again with another question. In my app, I've a screen where I want the app to display the max value of a field found in two collections (Collection1 and Collection2). 

This is one version of an attempted string, with no results:

Max(Collection1!Health, Collection2!health)

And I've also attempted to use the value function to convert the data to a number:

Max(Value(Collection1!Health, Collection2!health))

Thanks in advance for helping!

July 30th, 2015 2:19pm

If you want to show both max value in one label use this:

Max(Collection1, Health) & " " & Max(Collection2, health)

in text option of that label

However if you want to show one max value from both collection use this:

Max(Max(Collection1, Health) , Max(Collection2, health))

Free Windows Admin Tool Kit Click here and download it now
July 30th, 2015 4:00pm

Hi caseH,

Per my test, Ptr.chovan's answer is right. 

I will mark it as an answer.

Best Regards,

Lisa Chen 

July 31st, 2015 3:31am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics