Thanks, that was pretty much exactly what I was trying to do. I'll give it a go.