AnsweredAssumed Answered

Get the Max number from a field

Question asked by 25394 on Aug 30, 2018
Latest reply on Sep 25, 2018 by rscheitlin
Branched from an earlier discussion

Just to make using deferred a bit clearer, may i ask you for an example of using deferred within 2-3 methods?

 

I'm working on a problem where i am trying to get the max number from a field.

So first a query method is called (which sets uo the query), and then at query.execute, the query is sent to another method which cycles through each record, places the number from the field in an array, and then the highest number is selected.

I then need to get to pass out this max number back up the chain. I was wondering if you had an example?

Outcomes