Thanks to those who assisted with this, mostly off-list I think. 'Twas Ian Matters' solution that's cracked it for me - thanks again Ian for your time and very useful assistance. Cheers, MC -- http://michaelcarden.net