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 
Relationships
David Cummins 
      
3 years ago
I am confused how the Relationship tool under Database Tools tab works. 1)
When I relate two tables using Primary and Foreign keys, does Access automatically map the relationships in the Relationships panel?
2) If creating relationship using Primary and Foreign keys with Form and Subform logic, what is the purpose of using the Relationships Design tool?
Scott Axton  @Reply  
        
3 years ago

Honestly I never use it.
Once you split your data base,  it really doesn't serve much purpose other than as visual aid.
Then you can print out for documentation.

You probably will get many other people that use it a lot but my advice - don't spend a lot of time on it.
Kevin Yip  @Reply  
     
3 years ago
Relationship design is the only place to set up "referential integrity".  Richard has a video on this:   https://www.youtube.com/watch?v=cuni2mmLPl8

Referential integrity is useful for preventing "orphan records."  Suppose you have a product table, and an order table containing products from the product table.  If the two tables are related together with referential integrity, Access will not allow you to delete any product in the product table that still exists in the order table, whether you are in table view, query view, anywhere anytime.  If you try, you will get a warning as shown in the picture below, anytime anywhere.  This is a simple (no code) and useful way to preserve the "integrity" of your data -- because the order table cannot have products that don't already exist in the product table.  This is a basic and important feature in any relational database tool.
Kevin Yip  @Reply  
     
3 years ago

Scott Axton  @Reply  
        
3 years ago
What Kevin says is true in a single db on one computer.  
However, once you split a database in order to use it with multiple computers, that all gets thrown out the window. It doesn't apply across the split.  You have to handle the example Kevin gave manually.
Kevin Yip  @Reply  
     
3 years ago
It does apply if you split the DB.  If the tables in the back end DB have referential integrity, all the front ends that link to those tables will also need to enforce such referential integrity.  The relationship diagram in the BE will also carry over to the FE.
Kevin Robertson  @Reply  
          
3 years ago
I think what Scott probably meant is multiple BE files.
David Cummins OP  @Reply  
      
3 years ago
Thanks all, this helps. I think I understand. I will refer to the Relationship panel as a visual reference only and relate tables through Primary and Foreign keys.

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 11:58:14 AM. PLT: 1s