Hey guys.
Sb must have had this problem before.
I have a filter thru comma sep. values that adds items to the listbox only if they meet certain criteria
To make certain that it was not an error in the filter, I used a label whose captions shows the number of results found (intNumRecords). Problem is only one line is showing in the list box.
Here is my code (roughly):
For intNum = 0 to intNumRecords 'the # of records found
List1.AddItem strLine(intNum),intNum
Next intNum
Looks simple enough but when I run it, only the first one shows (Record #0). Why doesn't this work?
Any ideas?


Reply With Quote