J
Jeff
I have a looping statement that stores "record_Qty" to a long variable.
Each time the loop cycles it stores the record quantity to "record_qty" .
What I want is a way to show the largest number that the record_qty has been
during the looping process. If I use:
IF NewRecord_qty > record_qty THEN
record_qty = Newrecord_qty
end if
I only get the greater of the last two records.
What is the procedure to retrieve the largest record_qty value after the
loop is complete.
Each time the loop cycles it stores the record quantity to "record_qty" .
What I want is a way to show the largest number that the record_qty has been
during the looping process. If I use:
IF NewRecord_qty > record_qty THEN
record_qty = Newrecord_qty
end if
I only get the greater of the last two records.
What is the procedure to retrieve the largest record_qty value after the
loop is complete.