Ta. Actually, that rings a bell. I did this in Play recently and I *thought* I wrote something shorter.