Hi Francisco,
Thanks a lot for the reply. I just copied your code and I think it's working fine. I will dig into it more.
You have done a great help for me.
But unfortunatly I didn't find any code related to the same in the documentation.
[Appreciate if you can tell me the place that I should lookinto]
Regards,