First I just want to say that I have been working in Access for a while, but not good with the VBA code part. With that being said, I have tried several ways to connect an imported table (imported from excel) to the Main table without any luck.
My Current database has a many to many relationship. One main table is "Personnel". One main table is "Projects". The junction table is "Details".
My Main form is the "Projects" form with the subform being "Details". In the details subform I have an "Employee" field as a lookup to the "Personnel" table.
The data I import is hours worked for each person and each project. After I import it I call that table "Actuals".
I can't figure out how to link the Actuals table to any other table. The only common field is "Employee", but I get a data mismatch since I am using the Personnel.Employee as a lookup.
I thought about adding a the Personnel foreign key to the actuals table, but could not figure out how to populate that field for each record in that table. Is this even doable?
What is the best way to link the imported table of actuals so I can get how hours each person worked for each project?