Thanks tyreld

Good post..Aftr searching long time got this post..
I have used it as part of my code.