Thank you for quick response and the logic . It was a great help.