Hi there,
The other day, a customer asked me how to find the highest or lowest value in a study table column. So I put together a simple subroutine that you can put into your scripts. All you need to pass into the subroutine is the study table, the column heading, and whether you want the highest or lowest value.
Then you get the row id (remembering that these are 0-based) and the value from the column.
I have tested this on the included study table and it seems to work fine.
Cheers
Stephen