Hi guys,sorry for the late reply. I had to increase the len to 10000 before it worked.And although i didnt get any error,the program added a lot of junk to the file with each record added.I printed the values being added using debug.print every time any data was added to the file and it printed only the correct values.But it added a lot of crap to the file which I saw nowhere in the debug window,hence a lot of trouble was caused when inputting from the file.Does anyone know what could be causing this?I'm outputting a user defined type that has 3 arrays of strings,and the arrays are redimensioned at runtime depending on what values the user provided. thanks a lot.
|