Does this code depend on the key being unique?
(And, by the way, it's fairly common in my application for the filter to be based on a relation to another table, so the SQL still wouldn't work.)
Jim
P.S.: I was unable to include the text of your message, as I got some complaint about tags within the message. Not sure what it meant.
Jim Nelson
Newbury Park, CA