@joeQ
As per your suggesttion i'll make changes in the code on my own.Once again thanks for your help.