So I am working on making an Access database at work but I don't really know how to do what I'm trying to do.
We have a Many to Many relationship here. Allow me to explain. We want to make a database to keep track of projects. A single project on the "project table" can be associated with multiple project managers on the "project manager" table. At the same time, a single "Project Manager" can be working on multiple projects on the "project table". I don't really know the "best practices" way to make this work. Can anybody shed any light on the two tables below so that I can get started on the right foot creating these tables and relationships? Thank you so much!
If I pull back a project, I'll get 3 or 4 people which creates multiple rows of the same project name etc... If I pull back all the people's names I get multiple rows also. Do I need another ID for the project managers and then a 3rd table to bring all the IDs together? And if so, does this just create a table with every possible combination or people and projects? Is there a better way to do this?
"Project" table
PID# Project Name Description Start Date 1123 Backroom cleanup Cleaning up the back room 1/1/2015 1135 Car repair Fixing up the broken car 1/15/2012 1165 Textbook sale Selling textbooks 2/2/2015 1168 Car Purchase Purchasing a car 4/4/2012
"Project manager" table
PID# Name Supervisor Type Title 1123 Fred Eric PA Analyst 1135 Fred Eric PA Analyst 1165 Fred Eric PA Analyst 1165 Steven Eric DA Data Analyst 1168 Steven Eric DA Data Analyst 1135 Jimmy Bob Systems Systems Analyst 1168 Jimmy Bob Systems Systems Analyst 1123 Steven Eric DA Data Analyst 1135 Phil bob PA Analyst