I had a quick look at that new funcion before I left work on Friday. Looks like it's going to work. Thanks for your help.

R. Baker