Thanks so much Pipeline. That's not a very intuitive way of doing thing but it works perfectly!