steveboydon
Registered User.
- Local time
- Today, 23:37
- Joined
- Jul 21, 2011
- Messages
- 17
Hi,
I am trying to fill a two column listbox, Access version not the MSFORMS.
Have code as
Dim lst as listbox
set lst = me.listbox1
with lst
.additem (strText,1)
.column(1,2) =strMoreText
End With
I'm not sure if this is a quirk, but the code runs fine when the listbox is a MSFORMS version and using the list method.
However, even with list type being a valuelist it throws an object error
I can of course get it to work when I set the rowsource to table and use
lst.rowsource = "tbl_name"
Is this a 2007 anomolie
Steve
I am trying to fill a two column listbox, Access version not the MSFORMS.
Have code as
Dim lst as listbox
set lst = me.listbox1
with lst
.additem (strText,1)
.column(1,2) =strMoreText
End With
I'm not sure if this is a quirk, but the code runs fine when the listbox is a MSFORMS version and using the list method.
However, even with list type being a valuelist it throws an object error
I can of course get it to work when I set the rowsource to table and use
lst.rowsource = "tbl_name"
Is this a 2007 anomolie
Steve