Hi prabhat,
Thanks a lot, your code worked without any changes
.........but i dint understand logic completely.....i mean how it works, though u gave comments. I din understand line no:2,4. Thanks for ur time.
Kalyani
Thanks a lot, your code worked without any changes

Kalyani