I have a Physicians table (name, address, etc.) and a Hospitals table (similar fields) in a many to many relationship via a junction table containing the primary key from each of these tables. Each physician can work at multiple hospitals, and each hospital can have multiple physicians.
I have built a form for entering new records for Physicians. I would like to include a subform in which the user can (1) select all the associated hospitals for that physician from a drop-down list of all hospitals in the hospital table, or (2) enter a new hospital name that creates a new hospital record.
I have created a subform from the junction table that enables me to enter in the AutoNumber associated with a hospital record, but then the user has to know the hospital's AutoNumber, instead of simply selecting a hospital name from a list.