Thanks @Ward_Lostrie, this is exactly what I was looking for.
Works like a charm once you know how!
Joe