Thanks John - I now have no idea why, when I looked at how to do this a good while ago, I found the convoluted method used above in the details page.
I'm sure at the time, it looked like one of those little things which had far more complicated a solution than ever seemed reasonable.
So I really appreciate finally discovering that there is, after all, a straightforward way of doing this!