InsaneProgrammer
Programmer
I am populating a list box from a database using the following code:
The data displays in the listbox but in one long column. How do I get it to seperate into multiple columns? I've tried changing the number of columns in properties but that hasn't worked.
Code:
Do Until MyRS.EOF
with lstProducts
.AddItem MyRS(0)
.AddItem MyRS(1)
.AddItem MyRS(2)
.AddItem MyRS(3)
MyRS.MoveNext
loop