EternalMyrtle
I'm still alive
- Local time
- Today, 01:09
- Joined
- May 10, 2013
- Messages
- 533
Hello,
I have a table (tblCompanies) that is related to a junction table (tblCompaniesProjects). As expected, my parent form is based on tblCompanies and my subform is based on tblCompaniesProjects.
Basically, I would like to link two child fields 1. CompanyID (FK in tblCompaniesProjects) and 2. ParentCompanyID (FK in main table, tblCompanies) to the PK in tblCompanies.
The ParentCompanyID is only used when a company is taken over by another company. My goal is to merge the data with the parent company record (i.e. so it shows project associations with the former companies). I do not want to insert a separate subform for this info but will if it is the only way.
When I try to link the two fields to the Master field using subform field linker, no data shows up. I changed the recordsource already to include the ParentCompanyID field in the query and inserted into my subform.
I can link each child field individually and the related data shows but not both at once.
Any ideas, suggestions or criticisms of doing this?
Thank you!
I have a table (tblCompanies) that is related to a junction table (tblCompaniesProjects). As expected, my parent form is based on tblCompanies and my subform is based on tblCompaniesProjects.
Basically, I would like to link two child fields 1. CompanyID (FK in tblCompaniesProjects) and 2. ParentCompanyID (FK in main table, tblCompanies) to the PK in tblCompanies.
The ParentCompanyID is only used when a company is taken over by another company. My goal is to merge the data with the parent company record (i.e. so it shows project associations with the former companies). I do not want to insert a separate subform for this info but will if it is the only way.
When I try to link the two fields to the Master field using subform field linker, no data shows up. I changed the recordsource already to include the ParentCompanyID field in the query and inserted into my subform.
I can link each child field individually and the related data shows but not both at once.
Any ideas, suggestions or criticisms of doing this?
Thank you!
Last edited: