I figured this would be a common problem but after searching/browsing a bit I was unable to find anything - sorry if this has already been answered elsewhere.
Ideally, I want a checklist box for this but couldn't find a built in implementation in Access 2007 so I've opted for a MultiSelect ListBox. However, I'm still unable to wrap my head around how to make this work.
I've got a form that'll display/enter data contained in one table (e.g. used cars), and a ListBox on the form that'll display the contents of another table (options: power windows, ABS, air, cruise...). A third, intermediate table that links the two together contains only 2 remote keys: VIN & option ID - one record for each option that a particular car has.
When navigating from one car to the next I'd like to see the options that each vehicle has pre-selected. Also, when entering a new vehicle (or editing an existing one), the user should be able to Check/Ctrl+Click options to create/remove records in the intermediate table.
For what it's worth, I'd consider limiting the listbox to just the options a vehicle has (or doing a comma-separated list in a label) with a button that pops up another form to add/edit/remove entries. When trying that however, I've been unable to remember how to get the listbox to display ONLY values associated with the current record.
Any direction would be greatly appreciated.
Ideally, I want a checklist box for this but couldn't find a built in implementation in Access 2007 so I've opted for a MultiSelect ListBox. However, I'm still unable to wrap my head around how to make this work.
I've got a form that'll display/enter data contained in one table (e.g. used cars), and a ListBox on the form that'll display the contents of another table (options: power windows, ABS, air, cruise...). A third, intermediate table that links the two together contains only 2 remote keys: VIN & option ID - one record for each option that a particular car has.
When navigating from one car to the next I'd like to see the options that each vehicle has pre-selected. Also, when entering a new vehicle (or editing an existing one), the user should be able to Check/Ctrl+Click options to create/remove records in the intermediate table.
For what it's worth, I'd consider limiting the listbox to just the options a vehicle has (or doing a comma-separated list in a label) with a button that pops up another form to add/edit/remove entries. When trying that however, I've been unable to remember how to get the listbox to display ONLY values associated with the current record.
Any direction would be greatly appreciated.