Computer Learning Zone CLZ Access Excel Word Windows

We all have a thirst for wonder. It's a deeply human quality... There's wonder and awe enough in the real world. Nature's a lot better at inventing wonders than we are.

-Carl Sagan
 
Home   Courses   TechHelp   Help   Contact   Merch   Join   Order   Logon   Forums   
 
Back to Visitor Forum    Comments List
Upload Images   @Reply   Bookmark    Link   Email   Next Unseen 
Tables and Relationships
Lee Shastid 
    
3 years ago
This will be lengthy but I will try to spell out what i have done and accomplished and where I need help. Created a DB for ownership to vehicles and tracking of repairs so a little history there.
1. I have created a table for the owners.
2. Created a table for the vehicles.
3. Created a table for the purchase information.
4. Created a table for the repair's.
And while inputting data in for the vendors(Mechanics and Garages) I realized a lot of these are the same and I am excessively having to be redundant in putting the information in (so I know there are errors probably). The fields I have created are name, address, city, state, zip, phone. I then decided to make a table with all the vendors info in it. Is there a way and if so I want to put all that info in that table into all those fields by just one entry( i.e. just maybe put a vendor number in and it populates all those fields automatically. I am very new to Access. THANKS for any help.
Kevin Yip  @Reply  
     
3 years ago
First you create a vendor table with vendor ID, vendor name, address, etc.  Then, when you put the vendor into the other tables, you DON'T populate those fields.  You just put in the vendor ID.  The vendor ID is all the info the other tables need about that vendor.  An Access database needs to be normalized, meaning every info should appear in only one place.  Therefore, vendor name, address, phone, etc. should all only appear in the vendor table, and nowhere else.  Only the vendor ID gets to appear in multiple tables, as a "foreign key."
Lee Shastid OP  @Reply  
    
3 years ago
Kevin
First of all thank you for all your help. I understand what you are saying above. I have added a vendor to the vendor table for trial. I added a repair to the repair table. Now do i just create a relationship between these two tables? I have made a 1 to many but when i go to the repair table and put the vendor number in it does not fill in the other fields with the address and so on.
Lee Shastid OP  @Reply  
    
3 years ago

Kevin Yip  @Reply  
     
3 years ago
You don't need to copy vendor addresses from one table to another because that would not be a normalized setup, which you always want to strive for.  Every piece of data should be in one place only.  See the picture below as an example.  These tables are from my old job.  Note that the order table only has customer IDs, but not customer addresses.  Only the customer table has addresses.  If you want to show addresses in your forms and reports, you can set up fields specifically for displaying such info.  The picture below shows my order entry form where I enter only the customer ID.  The customer address shown below it is for display purpose only, and is not actually stored in the order table.  The address is retrieved from the customer table via either the DLookup() function or the combo box's Column property.

Kevin Yip  @Reply  
     
3 years ago

Lee Shastid OP  @Reply  
    
3 years ago
Thank you. Then apparently my whole DB is wrong then. Maybe I shouldn't try this any longer. There is something I am not understanding from the word GO. I appreciate all you r help. So I guess what I am having a hard time understanding is this. I having trouble understanding . So I guess I just need to create the vendor table as is and then in the repair table just put a vendor number to designate the repair facility and delete all the add info. So when I am in the repair table how do I get the vendor number without having to go to the vendor table and get it?
Lee Shastid OP  @Reply  
    
3 years ago
Thank you to all who helped. I think I may have been overthinking it. I THINK I have found out how to do thing now.Kevin Yip you have been very good and responsive. Thank you

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: 8/7/2026 6:13:32 PM. PLT: 3s