Nor, it seems, can you figure out how to post your code.
Um... my code has absolutely nothing to do with this Paul.
If I wanted to post my code I would have done so, but it has absolutely no relevance to this question.
Thanks for the snippet you posted, ill digest it and see if its what I need.
Regards