Computer Learning Zone CLZ Access Excel Word Windows

Never follow the crowd, go where it's empty.

-Arnold Schwarzenegger
 
Home   Courses   TechHelp   Forums   Help   Contact   Merch   Join   Order   Logon  
 
Back to Visitor Forum    Comments List
Upload Images   @Reply   Bookmark    Link   Email   Next Unseen 
Database Relationships
Lee Shastid 
    
3 years ago
I have watched the Access videos but I am like I am square one. I want to create a database where I can do the following but for some reason I cant make it happen. Example is lets say Person 1 owns 3 cars and peron 2 owns 2 cars. I want to be able to lookup and print a report that shows only the cars person 1 or person 2 owns.
Kevin Yip  @Reply  
     
3 years ago
To make that happen, you need "primary keys" that uniquely identify all the persons and all the cars.  For instance, a persons table and a cars table would look like:

PersonID (PK)   PersonName
1               John A.
2               Juan B.

CarID (PK)      CarName
1               2022 Buick Encore
2               Tesla Model S
3               1987 Oldsmobile

Then, in order to say who owns what cars, you need a third table that makes use of the primary keys above:

PersonID (PK)   LineNum (PK)   CarID
1               1              2
1               2              3
2               1              1

To "say" that "John owns Tesla Model S," you make an entry like the first line above: with PersonID equals 1 (which stands for John) and CarID equals 2 (which stands for the Buick).  The 2nd line, PersonID = 1 and CarID = 3, means John owns 1987 Oldsmobile.
Kevin Robertson  @Reply  
          
3 years ago

This thread is now CLOSED. If you wish to comment, start a NEW discussion in Visitor 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: 6/16/2026 7:00:18 PM. PLT: 0s