Thanks Guys, all your help has resolved the problem