July 6th, 2000, 10:34 AM
I am using a listview (Line_Type) with 2 columns and X amount of rows. When I go to save this table I use:
for Count = 1 to Line_Type.ListItems.Count
Write #9, Line_Type.ListItems(Count).Text, Line_Type.SelectedItem.SubItems(1)
next Count
The problem is that it will grab all the different fields in column 1 but it only takes column 2's row 1 info. For example:
MY TABLE:
___________
A | B
C | D
E | F
G | H
I | J
The text output file looks like this:
"A","B","C","B","E","B","G","B","I","B"
I want to have it look like this:
"A","B","C","D","E","F","G","H","I","J"
Thanks for any advice!!!
for Count = 1 to Line_Type.ListItems.Count
Write #9, Line_Type.ListItems(Count).Text, Line_Type.SelectedItem.SubItems(1)
next Count
The problem is that it will grab all the different fields in column 1 but it only takes column 2's row 1 info. For example:
MY TABLE:
___________
A | B
C | D
E | F
G | H
I | J
The text output file looks like this:
"A","B","C","B","E","B","G","B","I","B"
I want to have it look like this:
"A","B","C","D","E","F","G","H","I","J"
Thanks for any advice!!!