yippie_ky_yay
Registered User.
- Local time
- Today, 16:57
- Joined
- Jul 30, 2002
- Messages
- 338
Hello group,
I've just discovered that the addItem option from VB is not in VBA, so I was hoping someone could suggest an alternative for me.
Basicly, I wanted the user to be able to select multiple records and then run a query based on those selections. My idea was to have a listbox containing all records, then on the double click event, something like:
lstSelectedList.AddItem = lstListAllRecords
Then, my query could run based on the entries contained in lstSelectedList.
Of course, a completely different solution would be welcome as well!
thanks,
-Sean
UPDATE:
I have temporarily solved this by creating another table to store the values that I would like to see in my listbox and making it the source for my listbox. This seems like an awful waste though - plus I have to delete all the records in the temp table on my way out. Any other ideas? Thanks!
I've just discovered that the addItem option from VB is not in VBA, so I was hoping someone could suggest an alternative for me.
Basicly, I wanted the user to be able to select multiple records and then run a query based on those selections. My idea was to have a listbox containing all records, then on the double click event, something like:
lstSelectedList.AddItem = lstListAllRecords
Then, my query could run based on the entries contained in lstSelectedList.
Of course, a completely different solution would be welcome as well!
thanks,
-Sean
UPDATE:
I have temporarily solved this by creating another table to store the values that I would like to see in my listbox and making it the source for my listbox. This seems like an awful waste though - plus I have to delete all the records in the temp table on my way out. Any other ideas? Thanks!
Last edited: