-
listbox and additem
Hi,
Using a form in Access
i wanna add a new item to a list box. I want to do it programmatically and not through the access wizard.
for some reason I cant seem to use list1.additem ("red")
coul this be that I dont have DAO listed as a reference in access? how do i check that out? is there another way to do it?
Thanks
-
It doesn't work like a vb listbox. It's a semicolon delimited string.
Set the RowsourceType property to Value List. Then
Me!list1.RowSource = Me!list1.RowSource & ";" & "whatever"