If this data is coming from a database like Sql Server or MS Access then you can handle this issue with your SQL statement
Here is an Access example,
Smallest
LargestCode:Select Top 10 column32, theNameColumn From lots where theNameColumn='someName' ORDER BY column32 ASC
I think SQL Server uses TOP(10)Code:Select Top 10 column32, theNameColumn From lots where theNameColumn='someName' ORDER BY column32 DESC




Reply With Quote
