NoorE - 4:15 am on May 17, 2012 (gmt 0)
Thanks everyone for your replies and help. I have found the reason it was not working was due to a human error so foolish I do not want to even say it, lol. But your code indeed works fine. If any other coding rookies find this page, use the code given by g1smd or phranque above, it is sound. Thanks again!