jaccessable
Registered User.
- Local time
- Yesterday, 16:13
- Joined
- Feb 12, 2016
- Messages
- 13
I am trying to populate a multicolumn listbox with listbox.additem and cannot see my data in the other columns.
So, I know your first thought - separate the items by semicolon inside of a single string, make sure the column count is more than 1, choose value list, ensure the columns are wide enough - However, I've done all that and it's still not showing data in any other column besides #1.
My command lines are:
sLine = Trim(rs.Fields(0)) & ";" & Trim(rs.Fields(1)) & ";" & Trim(rs.Fields(2)) & ";" & Trim(rs.Fields(3))
me.listbox.additem sLine
A debug.print view of sLine returns: CITY-02332 ;Admin ;True;
Only CITY-02332 shows up. When I load a dummy line of text like "Item 1;Item 2; Item 3;Item 4" it works perfect - all 4 columns have data.
I've done this so many times I can't count them all - years! And now, I'm just at a complete loss. I've got other listboxes in my forms and have no problems with this? Any ideas?
So, I know your first thought - separate the items by semicolon inside of a single string, make sure the column count is more than 1, choose value list, ensure the columns are wide enough - However, I've done all that and it's still not showing data in any other column besides #1.
My command lines are:
sLine = Trim(rs.Fields(0)) & ";" & Trim(rs.Fields(1)) & ";" & Trim(rs.Fields(2)) & ";" & Trim(rs.Fields(3))
me.listbox.additem sLine
A debug.print view of sLine returns: CITY-02332 ;Admin ;True;
Only CITY-02332 shows up. When I load a dummy line of text like "Item 1;Item 2; Item 3;Item 4" it works perfect - all 4 columns have data.
I've done this so many times I can't count them all - years! And now, I'm just at a complete loss. I've got other listboxes in my forms and have no problems with this? Any ideas?