hi there..
1. if you want i to be numeric then use the function isnumeric and also if that is true test it for >0...
2. I don't understand what are you trying to do... you are adding n inside the for loop??? that's a serious no no!
if you want every item in a diferent column you should add the item (that will return a pointer to the item if I don't remember bad) and then add the rest of the data to the subcolumns of it... sorry I don't have code here to provide you...
HTH
Gonzalo
================================================== =========
Read this if you want to know how to get a correct reply for your question:
http://www.catb.org/~esr/faqs/smart-questions.html
^^Took that from dparsons signature and he Took that from planoie's profile
================================================== =========
My programs achieved a new certification (can you say the same?):
WORKS ON MY MACHINE
http://www.codinghorror.com/blog/archives/000818.html
================================================== =========
I know that CVS was evil, and now i got the proof:
http://worsethanfailure.com/Articles...-Hate-You.aspx
================================================== =========