Thanks Marcol. I can see what you've done which is pretty nifty but i don't think i was clear in my post for what I was trying to achieve. i'm almost there with what Andrew-R posted.