hiya francis thanks for that, i think i have it sorted now. its mc creanney but thanks for your help
debbie