• Thanks for the pointer, Greg. I'll let my DBA know what you suggest and update my query accordingly.

    Thanks also to all those who have taken the trouble to have a look at my problem - it's reassuring to know that we techies support each other where and when we can.

     

    Simon