Thank you for the snippet David. Here is some points for your effort.
If you however can enclose your code in the future in code brackets as in - "" all viewers will find your post more resourceful. All you have to do is to click on the "[CODE]" label in the post reply box to encase all code in its place.
Thanks:)
AndreRet
Senior Poster
3,922 posts since Jan 2008
Reputation Points: 334
Solved Threads: 350
You have also selected a new thread as a question and not as a code snippet. Please mark this as solved otherwise it will stay open for infinity of time.
AndreRet
Senior Poster
3,922 posts since Jan 2008
Reputation Points: 334
Solved Threads: 350
OK, switched it to code snipped and added code tags
peter_budo
Code tags enforcer
15,436 posts since Dec 2004
Reputation Points: 2,806
Solved Threads: 902
AndreRet
Senior Poster
3,922 posts since Jan 2008
Reputation Points: 334
Solved Threads: 350