The issue with posting code as you both have in post #5 and #6 is that you don't know what the original post meant. Not to mention if that is indeed what he was looking for you have just given him...