I have developed a many to many relationship between two tables by creating a third table. This third table allows duplicates from both of the original tables, as this was the intention of the junction table. So that's fine and dandy, but now creating the forms for users to view and add data I am having a problem!
Form contains Clients, subform contains contacts for the selected client and the hidden junction id which connects them. So, let's say user wants to add a new contact for the active client. The contacts are not unique to the clients, in other words this contact may already exist in the contacts table.
Plan was for a combo box on the subform to see if this new contact already exists. The subform does not allow for the combo box to "Find a record on my form based on the value I selected in my combo box". Therefore the subform does not fill with the data of the selected record in the combo box.
The goal is for the user to search existing contacts, if the new contact for the particular client does already exist, just select the contact from the drop down, the subform will fill with the contacts already existing info, click save and a new record has been established in the junction table with the active client and contact.
Junction ID :: Client :: Contact
1092 :: 2 :: 354
1093 :: 3 :: 355
1094 :: 3 :: 641
1095 :: 3 :: 220
1096 :: 4 :: 264
1097 :: 4 :: 220
Say, user is viewing client 4 data, and needed to add 220 into the list of contacts. 220 already exists, just need a new record in the junction table.
Form contains Clients, subform contains contacts for the selected client and the hidden junction id which connects them. So, let's say user wants to add a new contact for the active client. The contacts are not unique to the clients, in other words this contact may already exist in the contacts table.
Plan was for a combo box on the subform to see if this new contact already exists. The subform does not allow for the combo box to "Find a record on my form based on the value I selected in my combo box". Therefore the subform does not fill with the data of the selected record in the combo box.
The goal is for the user to search existing contacts, if the new contact for the particular client does already exist, just select the contact from the drop down, the subform will fill with the contacts already existing info, click save and a new record has been established in the junction table with the active client and contact.
Junction ID :: Client :: Contact
1092 :: 2 :: 354
1093 :: 3 :: 355
1094 :: 3 :: 641
1095 :: 3 :: 220
1096 :: 4 :: 264
1097 :: 4 :: 220
Say, user is viewing client 4 data, and needed to add 220 into the list of contacts. 220 already exists, just need a new record in the junction table.