Thanks for everyone's help with this (especially Dave) which is now working. I'll provide some example code when it's all complete. RonM2 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20110614/4e545485/attachment-0001.html>