Hernan, Steve, and Mike, many thanks for your replies. I shall look at your replies in more detail tomorrow (I might get to look at it this evening, depends how much work is on this night shift). From what I have looked at now though I think your replies will help me a lot. I really appreciate your help :) Many thanks once again, Ben