Thanks for that. It gave me a hint in the right direction and I've been able to solve it. Many thanks for your time and assistance.