I'm trying to do this application the right way, but I'm confused about how to update a separate table with info from two different ones.
When I create a new record in tblContacts, I select an organization category from tblCategory. For sorting and mail merging capabilities, I want to update a third table (tblContactCats) with the ContactID (from tblContacts) and the CategoryID (from tblCategories) but I can't seem to get it to work.
On the form I use to create new contacts, I created a cbo using tblCategories.CategoryName as the record source (CatID = key field) but all that does is populate that field with the Category Name. Which is fine, but I also need to create a corresponding record in tblContactCats that lists the ContactID & CategoryID for each of the categories the contact is associated with. (There could be many.)
Do I need to insert an expandable sub-form into the "Add New Contact" form in order to accomplish this?
Thanks in advance,
KerryL
When I create a new record in tblContacts, I select an organization category from tblCategory. For sorting and mail merging capabilities, I want to update a third table (tblContactCats) with the ContactID (from tblContacts) and the CategoryID (from tblCategories) but I can't seem to get it to work.
On the form I use to create new contacts, I created a cbo using tblCategories.CategoryName as the record source (CatID = key field) but all that does is populate that field with the Category Name. Which is fine, but I also need to create a corresponding record in tblContactCats that lists the ContactID & CategoryID for each of the categories the contact is associated with. (There could be many.)
Do I need to insert an expandable sub-form into the "Add New Contact" form in order to accomplish this?
Thanks in advance,
KerryL