Thanks for your help Kent and Rob, It's now working!

Thanks
Gram