I have two tables, Company and Keywords, which have a many-to-many relationship. I have build an index file which is keyed on the id of both tables.
To update the keywords associated with a particular company, I have a form with two listboxes. List1 is a select list of all keywords (from the Keywords table) and List2 is a select list of keywords for the selected company (select list from the index file). Both lists are RowSourceType - Table/Query - for the selects to work.
1) I want to be able to double click on List1 to add new Keywords to List2, or double click on List2 to remove Keywords for the company. I have done this before where list2 was a value list but not where list2 is built from a select list. I have searched the site for a similar query, but no luck.
2) I am not very familiar with the code required to add/delete records from VBA, and have struggled with Help to get the full picture.
I would appreciate any help with either problem - many thanks in advance.
To update the keywords associated with a particular company, I have a form with two listboxes. List1 is a select list of all keywords (from the Keywords table) and List2 is a select list of keywords for the selected company (select list from the index file). Both lists are RowSourceType - Table/Query - for the selects to work.
1) I want to be able to double click on List1 to add new Keywords to List2, or double click on List2 to remove Keywords for the company. I have done this before where list2 was a value list but not where list2 is built from a select list. I have searched the site for a similar query, but no luck.
2) I am not very familiar with the code required to add/delete records from VBA, and have struggled with Help to get the full picture.
I would appreciate any help with either problem - many thanks in advance.