Never mind, panic over. I suspect it would have all been a lot faster if I hadn't searched for an answer and just worked it out myself.