Free Lessons
Courses
Seminars
TechHelp
Fast Tips
Templates
Topic Index
Forum
ABCD
 
Home   Courses   TechHelp   Forums   Help   Contact   Merch   Join   Order   Logon  
 
Back to Access Forum    Comments List
Upload Images   @Reply   Bookmark    Link   Email   Next Unseen 
Junction Table for Multiple Sources of Data
Annelie Landgren 
   
2 years ago
I am building a database for projects. The projects have many relationships such as: owners (Branch, Program), Project TEAM, Contracts, billing codes, but also what type of project it is and project descriptions (over time) etc. If I set up tables for each of these then create ONE junction table with the following fields ID, ProjectID, BranchID, ProgramID, PrjTeamID, etc so that each project can only have one of each, but different projects can use the same prjTEAM for example as another project. Is this the correct way of thinking about this?
Sami Shamma  @Reply  
             
2 years ago
Annelie,

What is your primary Table? I assume it is Your Project correct? from what little you shared; all the others are Foreign Keys in this table.  The exception is teams that need a many-to-many relationship.

📼Relationships
📼Many-to-Many
📼Access Relationship Seminar
Annelie Landgren OP  @Reply  
   
2 years ago
Hi Sami Shamma, thanks for your comment. My primary table is the project.  Do you mean that my primary table should contain the IDs from all other tables, if so that does make better sense to me. Does a junction table only include two items? And the reason is to enable it to help with many to many relationships? Do I understand that correctly?
Sami Shamma  @Reply  
             
2 years ago
The answers to your questions are in the free videos I recommended for you: in my first reply.
Kevin Yip  @Reply  
     
2 years ago
Hi Annelie, it all depends on how your business is set up.  Most cases in real life use many-to-many relationships.  For instance, a customer can buy multiple products, and each product can be bought by multiple customers.

Ask yourself:
A project can involve multiple branches.  True or false?
Each branch can be involved in multiple projects.  True or false?

A project can involve multiple programs.  True or false?
Each program can be involved in multiple projects.  True or false?

A project can involve multiple teams.  True or false?
Each team can be involved in multiple projects.  True or false?

If any pair above is true both ways, you need many-to-many relationship for it.

A more relatable real-life example:

A person can sign in to multiple Internet accounts.  True.
An Internet account can be signed in to by multiple people.  THIS IS FALSE, since each account can only link to one set of user ID/password.

In the case above, there cannot be a many-to-many relationship.  It can only be one-to-many.

Another example:

A person can have multiple social security numbers.  FALSE.
Each social security number can be used by multiple people.  FALSE.

In this case, there can only be a *one-to-one* relationship.

In short, it all depends on specific real-life applications, which you have to be clear about before setting up your database.
Annelie Landgren OP  @Reply  
   
2 years ago
Thanks Both Sami and Kevin,
Sami, this is my first time asking a question and I did not realize that the blue text was your recommended videos. I have watched all of them but still my brain refuses to "click in", I guess I just need to continue watching them.
Thanks Kevin for your true or false questions. I am primarily trying to understand the difference of a primary table and a junction table and I will ponder your questions and try to put it to use in my situation. I feel my brain starting to get hot of all thinking. :) Thanks again!

This thread is now CLOSED. If you wish to comment, start a NEW discussion in Access Forum.
 

Next Unseen

 
New Feature: Comment Live View
 
 

The following is a paid advertisement
Computer Learning Zone is not responsible for any content shown or offers made by these ads.
 

Learn
 
Access - index
Excel - index
Word - index
Windows - index
PowerPoint - index
Photoshop - index
Visual Basic - index
ASP - index
Seminars
More...
Customers
 
Login
My Account
My Courses
Lost Password
Memberships
Student Databases
Change Email
Info
 
Latest News
New Releases
User Forums
Topic Glossary
Tips & Tricks
Search The Site
Code Vault
Collapse Menus
Help
 
Customer Support
Web Site Tour
FAQs
TechHelp
Consulting Services
About
 
Background
Testimonials
Jobs
Affiliate Program
Richard Rost
Free Lessons
Mailing List
PCResale.NET
Order
 
Video Tutorials
Handbooks
Memberships
Learning Connection
Idiot's Guide to Excel
Volume Discounts
Payment Info
Shipping
Terms of Sale
Contact
 
Contact Info
Support Policy
Mailing Address
Phone Number
Fax Number
Course Survey
Email Richard
[email protected]
Blog RSS Feed    YouTube Channel

LinkedIn
Copyright 2026 by Computer Learning Zone, Amicron, and Richard Rost. All Rights Reserved. Current Time: 4/30/2026 6:56:45 AM. PLT: 1s