Quote Originally Posted by webcommerce View Post
I do understand there is nothing wrong with the code: it works. Neither is there anything wrong in discovering other ways to achieve the same result. Whilst it may not matter in this instance, it may be applicable elsewhere in the future, or by knowing the procedure, point me in the right direction.
You asked for a BETTER solution, I quote ... and come up with a better solution.

Paul has given you an alternative which falls firmly into my statement ... Any 'improvements' would be cosmetic, or worse, unclear. No criticism of Paul, his offering or trying to give you alternatives, but if you think that is better, then we clearly live in different worlds. Part of gathering knowledge is to acknowledge that if it ain't broke, don't fix it.

I will sign-off now, with nothing more to add.