Thanks Bret, I thought i was on the right track till I saw your code. I understand it & you have got me over my hurdle. I can see I might have a couple more questions in the future but thanks for now.
Chris.