Thankyou very much tutu, your help is much appreciated. i guessed there was something wrong but couldn't quite work out what was wrong. I sort of get it now so will re-look at it and alter it accordingly. probably get stuck again so will keep you posted. Thankyou once again