Unfortunately, neither unique values nor Primary Keys work for me; I have an applications with many, many grids, some with gobs of columns (essentially spreadsheets ...). The routine doing this is part of a grid class, and knows nothing special about the data or its keys.
Jim Nelson
Newbury Park, CA