Hi guys
How can i format the following code while writing it to a text file?
Currently it is writing everything on a new line where as i want it to write it in table format which is a table row on every line.
Current form
How i want to write to file
The following url might give more details
http://bytes.com/topic/access/answers/950303-print-multidimeisonal-array-txt-file
How can i format the following code while writing it to a text file?
Currently it is writing everything on a new line where as i want it to write it in table format which is a table row on every line.
Code:
For bytCtr1 = LBound(arrCount(), 1) To UBound(arrCount(), 1) '1st Dimension
For bytCtr2 = LBound(arrCount(), 2) To UBound(arrCount(), 2) '2nd Dimension
Print #1, arrCount(bytCtr1, bytCtr2) 'Write to Text File
Next bytCtr2
Next bytCtr1
Code:
23 Name 14.90% 33,558,819,050,000.00 225286973.5 23 Name 14.90% 23 Name 14.90%
How i want to write to file
Code:
23 Name 14.90% 33,558,819,050,000.00 225286973.5 23 Name 14.90% 23 Name 14.90%
http://bytes.com/topic/access/answers/950303-print-multidimeisonal-array-txt-file
Comment