<snip> I would modify the table structure to isolate the item or items that will be used in sorting and selecting. Otherwise, you will constantly be rigging schemes to make it work. </snip> I cannot change the table structure. This is black box testing... Rob