padlocked17
Registered User.
- Local time
- Today, 11:30
- Joined
- Aug 29, 2007
- Messages
- 275
How do you take multiple selections in a listbox and save the Primary Keys associated with those listbox selections in one field on a table?
Basically, I've got a form that has a MemberID that populates the remaining data for that individual. I've got a Listbox that displays all of the awards they are eligible for. I want to be able to select multiple awards and have the Primary Key's for those awards saved in a single field in the tblMembers table.
That's what I need to accomplish and I'm open to alternative suggestions on how to accomplish it.
Right now I've got a tblAwards and tblMembers table. I've thought about creating a tblMembersAwards that would have a field for the MemberID and then a field for the AwardsID and could match them.
My problem there is that I don't know how to populate the listbox from the tblAwards table as well as that new tblMembersAwards table so that all awards are still displayed, but only the ones listed in tblMemberAwards are highlighted or selected.
Any thoughts or Ideas would be greatly apprecaited!
Basically, I've got a form that has a MemberID that populates the remaining data for that individual. I've got a Listbox that displays all of the awards they are eligible for. I want to be able to select multiple awards and have the Primary Key's for those awards saved in a single field in the tblMembers table.
That's what I need to accomplish and I'm open to alternative suggestions on how to accomplish it.
Right now I've got a tblAwards and tblMembers table. I've thought about creating a tblMembersAwards that would have a field for the MemberID and then a field for the AwardsID and could match them.
My problem there is that I don't know how to populate the listbox from the tblAwards table as well as that new tblMembersAwards table so that all awards are still displayed, but only the ones listed in tblMemberAwards are highlighted or selected.
Any thoughts or Ideas would be greatly apprecaited!