$ 0 0 Hi, I wrote the same logic what i have said previously,it is working for me.The s.no are printing upto 21 numbers In the text7 of the above screen shot i have menctioned &g_sno&.Regards.