Sql and key lookup issue

Don't double-post. I've wound up answering this in a different thread and therefore my response is now in that other thread and discussion becomes fragmented.