B
BobRoyAce
I am used to programming in the VB world, outside of Access. In that world,
it was very easy to add items to listboxes as their were methods like Clear
(to clear all items) and AddItem to add another item, etc. Let's say I want
to cycle through a recordset, which has but a single field, and add values
from all records to the list box? This listbox could get populated many
times as the user makes selections in other controls on the form. The only
way I've found to do it so far is by cycling through the records and
appending to the RowSource property. Is that the best way to do it?
Also, it is a multiselect listbox. How can I determine which items the user
has selected?
it was very easy to add items to listboxes as their were methods like Clear
(to clear all items) and AddItem to add another item, etc. Let's say I want
to cycle through a recordset, which has but a single field, and add values
from all records to the list box? This listbox could get populated many
times as the user makes selections in other controls on the form. The only
way I've found to do it so far is by cycling through the records and
appending to the RowSource property. Is that the best way to do it?
Also, it is a multiselect listbox. How can I determine which items the user
has selected?