G
Guest
Am I in error or what?
There seems to be no Add Method for a listbox control.
Should I change my controls to ComboBoxes?
My problem is:
I have a form with two listboxes and two command buttons to transfer items
from the first list to the second (and eventually back to the first one).
The first list is bound to a table with 14 entries. The second list in
unbound and will eventually contain the items from the first list that need
to have some calculations done for.
I tried to write this code but it does not work:
' *****************************
Me.lst2nd.Add ("Test")
Me.lst2nd.Add (Me.lst1st.Selected)
Me.lst1st.RemoveItem (Me.lst1st.Selected)
' *****************************
What's wrong with that code?
There seems to be no Add Method for a listbox control.
Should I change my controls to ComboBoxes?
My problem is:
I have a form with two listboxes and two command buttons to transfer items
from the first list to the second (and eventually back to the first one).
The first list is bound to a table with 14 entries. The second list in
unbound and will eventually contain the items from the first list that need
to have some calculations done for.
I tried to write this code but it does not work:
' *****************************
Me.lst2nd.Add ("Test")
Me.lst2nd.Add (Me.lst1st.Selected)
Me.lst1st.RemoveItem (Me.lst1st.Selected)
' *****************************
What's wrong with that code?