>I've not done it, but you could do an AUSED() and then an ASORT on column 2. The last element would hold the highest used work area in column 2... I think?
>
>M.
Hmmm.... Can't ASORT on column 2. I guess at that point you'd need to spin through and manually find the highest value. They appear to be in the array in descending order, but I wouldn't count on that.
nHighestWorkArea = 0
FOR x = 1 to ALEN(aWorkAreas,1)
IF aWorkAreas[x,2] > nHighestWorkArea
nHighestWorkArea = aWorkAreas[x,2]
ENDIF
ENDFOR
Marty Smith, CSQE